Text Compare
Produced: 7/19/2015 10:07:55 AM
   
Mode:  All, With Context  
Left file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template06\0718-1345\fbc-bug-5251-5252\sanity\src\rtlib\libfb_str_convfrom_lng.c  
Right file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template06\0718-1345\fbc-bug-5251-5252\000000\src\rtlib\libfb_str_convfrom_lng.c  
1 typedef unsigned int size_t; = 1 typedef unsigned int size_t;
2 typedef long wchar_t;   2 typedef long wchar_t;
3 struct __anonstruct___wait_terminated_1 {   3 struct __anonstruct___wait_terminated_1 {
4    unsigned int __w_termsig : 7 ;   4    unsigned int __w_termsig : 7 ;
5    unsigned int __w_coredump : 1 ;   5    unsigned int __w_coredump : 1 ;
6    unsigned int __w_retcode : 8 ;   6    unsigned int __w_retcode : 8 ;
7    unsigned int  : 16 ;   7    unsigned int  : 16 ;
8 };   8 };
9 struct __anonstruct___wait_stopped_2 {   9 struct __anonstruct___wait_stopped_2 {
10    unsigned int __w_stopval : 8 ;   10    unsigned int __w_stopval : 8 ;
11    unsigned int __w_stopsig : 8 ;   11    unsigned int __w_stopsig : 8 ;
12    unsigned int  : 16 ;   12    unsigned int  : 16 ;
13 };   13 };
14 union wait {   14 union wait {
15    int w_status ;   15    int w_status ;
16    struct __anonstruct___wait_terminated_1 __wait_terminated ;   16    struct __anonstruct___wait_terminated_1 __wait_terminated ;
17    struct __anonstruct___wait_stopped_2 __wait_stopped ;   17    struct __anonstruct___wait_stopped_2 __wait_stopped ;
18 };   18 };
19 union __anonunion___WAIT_STATUS_3 {   19 union __anonunion___WAIT_STATUS_3 {
20    union wait *__uptr ;   20    union wait *__uptr ;
21    int *__iptr ;   21    int *__iptr ;
22 };   22 };
23 typedef union __anonunion___WAIT_STATUS_3  __attribute__((__transparent_union__)) __WAIT_STATUS;   23 typedef union __anonunion___WAIT_STATUS_3  __attribute__((__transparent_union__)) __WAIT_STATUS;
24 struct __anonstruct_div_t_4 {   24 struct __anonstruct_div_t_4 {
25    int quot ;   25    int quot ;
26    int rem ;   26    int rem ;
27 };   27 };
28 typedef struct __anonstruct_div_t_4 div_t;   28 typedef struct __anonstruct_div_t_4 div_t;
29 struct __anonstruct_ldiv_t_5 {   29 struct __anonstruct_ldiv_t_5 {
30    long quot ;   30    long quot ;
31    long rem ;   31    long rem ;
32 };   32 };
33 typedef struct __anonstruct_ldiv_t_5 ldiv_t;   33 typedef struct __anonstruct_ldiv_t_5 ldiv_t;
34 struct __anonstruct_lldiv_t_6 {   34 struct __anonstruct_lldiv_t_6 {
35    long long quot ;   35    long long quot ;
36    long long rem ;   36    long long rem ;
37 };   37 };
38 typedef struct __anonstruct_lldiv_t_6 lldiv_t;   38 typedef struct __anonstruct_lldiv_t_6 lldiv_t;
39 typedef unsigned char __u_char;   39 typedef unsigned char __u_char;
40 typedef unsigned short __u_short;   40 typedef unsigned short __u_short;
41 typedef unsigned int __u_int;   41 typedef unsigned int __u_int;
42 typedef unsigned long __u_long;   42 typedef unsigned long __u_long;
43 typedef signed char __int8_t;   43 typedef signed char __int8_t;
44 typedef unsigned char __uint8_t;   44 typedef unsigned char __uint8_t;
45 typedef short __int16_t;   45 typedef short __int16_t;
46 typedef unsigned short __uint16_t;   46 typedef unsigned short __uint16_t;
47 typedef int __int32_t;   47 typedef int __int32_t;
48 typedef unsigned int __uint32_t;   48 typedef unsigned int __uint32_t;
49 typedef long long __int64_t;   49 typedef long long __int64_t;
50 typedef unsigned long long __uint64_t;   50 typedef unsigned long long __uint64_t;
51 typedef long long __quad_t;   51 typedef long long __quad_t;
52 typedef unsigned long long __u_quad_t;   52 typedef unsigned long long __u_quad_t;
53 typedef __u_quad_t __dev_t;   53 typedef __u_quad_t __dev_t;
54 typedef unsigned int __uid_t;   54 typedef unsigned int __uid_t;
55 typedef unsigned int __gid_t;   55 typedef unsigned int __gid_t;
56 typedef unsigned long __ino_t;   56 typedef unsigned long __ino_t;
57 typedef __u_quad_t __ino64_t;   57 typedef __u_quad_t __ino64_t;
58 typedef unsigned int __mode_t;   58 typedef unsigned int __mode_t;
59 typedef unsigned int __nlink_t;   59 typedef unsigned int __nlink_t;
60 typedef long __off_t;   60 typedef long __off_t;
61 typedef __quad_t __off64_t;   61 typedef __quad_t __off64_t;
62 typedef int __pid_t;   62 typedef int __pid_t;
63 struct __anonstruct___fsid_t_7 {   63 struct __anonstruct___fsid_t_7 {
64    int __val[2] ;   64    int __val[2] ;
65 };   65 };
66 typedef struct __anonstruct___fsid_t_7 __fsid_t;   66 typedef struct __anonstruct___fsid_t_7 __fsid_t;
67 typedef long __clock_t;   67 typedef long __clock_t;
68 typedef unsigned long __rlim_t;   68 typedef unsigned long __rlim_t;
69 typedef __u_quad_t __rlim64_t;   69 typedef __u_quad_t __rlim64_t;
70 typedef unsigned int __id_t;   70 typedef unsigned int __id_t;
71 typedef long __time_t;   71 typedef long __time_t;
72 typedef unsigned int __useconds_t;   72 typedef unsigned int __useconds_t;
73 typedef long __suseconds_t;   73 typedef long __suseconds_t;
74 typedef int __daddr_t;   74 typedef int __daddr_t;
75 typedef long __swblk_t;   75 typedef long __swblk_t;
76 typedef int __key_t;   76 typedef int __key_t;
77 typedef int __clockid_t;   77 typedef int __clockid_t;
78 typedef void *__timer_t;   78 typedef void *__timer_t;
79 typedef long __blksize_t;   79 typedef long __blksize_t;
80 typedef long __blkcnt_t;   80 typedef long __blkcnt_t;
81 typedef __quad_t __blkcnt64_t;   81 typedef __quad_t __blkcnt64_t;
82 typedef unsigned long __fsblkcnt_t;   82 typedef unsigned long __fsblkcnt_t;
83 typedef __u_quad_t __fsblkcnt64_t;   83 typedef __u_quad_t __fsblkcnt64_t;
84 typedef unsigned long __fsfilcnt_t;   84 typedef unsigned long __fsfilcnt_t;
85 typedef __u_quad_t __fsfilcnt64_t;   85 typedef __u_quad_t __fsfilcnt64_t;
86 typedef int __ssize_t;   86 typedef int __ssize_t;
87 typedef __off64_t __loff_t;   87 typedef __off64_t __loff_t;
88 typedef __quad_t *__qaddr_t;   88 typedef __quad_t *__qaddr_t;
89 typedef char *__caddr_t;   89 typedef char *__caddr_t;
90 typedef int __intptr_t;   90 typedef int __intptr_t;
91 typedef unsigned int __socklen_t;   91 typedef unsigned int __socklen_t;
92 typedef __u_char u_char;   92 typedef __u_char u_char;
93 typedef __u_short u_short;   93 typedef __u_short u_short;
94 typedef __u_int u_int;   94 typedef __u_int u_int;
95 typedef __u_long u_long;   95 typedef __u_long u_long;
96 typedef __quad_t quad_t;   96 typedef __quad_t quad_t;
97 typedef __u_quad_t u_quad_t;   97 typedef __u_quad_t u_quad_t;
98 typedef __fsid_t fsid_t;   98 typedef __fsid_t fsid_t;
99 typedef __loff_t loff_t;   99 typedef __loff_t loff_t;
100 typedef __ino64_t ino_t;   100 typedef __ino64_t ino_t;
101 typedef __dev_t dev_t;   101 typedef __dev_t dev_t;
102 typedef __gid_t gid_t;   102 typedef __gid_t gid_t;
103 typedef __mode_t mode_t;   103 typedef __mode_t mode_t;
104 typedef __nlink_t nlink_t;   104 typedef __nlink_t nlink_t;
105 typedef __uid_t uid_t;   105 typedef __uid_t uid_t;
106 typedef __off64_t off_t;   106 typedef __off64_t off_t;
107 typedef __pid_t pid_t;   107 typedef __pid_t pid_t;
108 typedef __id_t id_t;   108 typedef __id_t id_t;
109 typedef __ssize_t ssize_t;   109 typedef __ssize_t ssize_t;
110 typedef __daddr_t daddr_t;   110 typedef __daddr_t daddr_t;
111 typedef __caddr_t caddr_t;   111 typedef __caddr_t caddr_t;
112 typedef __key_t key_t;   112 typedef __key_t key_t;
113 typedef __clock_t clock_t;   113 typedef __clock_t clock_t;
114 typedef __time_t time_t;   114 typedef __time_t time_t;
115 typedef __clockid_t clockid_t;   115 typedef __clockid_t clockid_t;
116 typedef __timer_t timer_t;   116 typedef __timer_t timer_t;
117 typedef unsigned long ulong;   117 typedef unsigned long ulong;
118 typedef unsigned short ushort;   118 typedef unsigned short ushort;
119 typedef unsigned int uint;   119 typedef unsigned int uint;
120 typedef signed char int8_t;   120 typedef signed char int8_t;
121 typedef short int16_t;   121 typedef short int16_t;
122 typedef int int32_t;   122 typedef int int32_t;
123 typedef long long int64_t;   123 typedef long long int64_t;
124 typedef unsigned char u_int8_t;   124 typedef unsigned char u_int8_t;
125 typedef unsigned short u_int16_t;   125 typedef unsigned short u_int16_t;
126 typedef unsigned int u_int32_t;   126 typedef unsigned int u_int32_t;
127 typedef unsigned long long u_int64_t;   127 typedef unsigned long long u_int64_t;
128 typedef int register_t;   128 typedef int register_t;
129 typedef int __sig_atomic_t;   129 typedef int __sig_atomic_t;
130 struct __anonstruct___sigset_t_8 {   130 struct __anonstruct___sigset_t_8 {
131    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;   131    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
132 };   132 };
133 typedef struct __anonstruct___sigset_t_8 __sigset_t;   133 typedef struct __anonstruct___sigset_t_8 __sigset_t;
134 typedef __sigset_t sigset_t;   134 typedef __sigset_t sigset_t;
135 struct timespec {   135 struct timespec {
136    __time_t tv_sec ;   136    __time_t tv_sec ;
137    long tv_nsec ;   137    long tv_nsec ;
138 };   138 };
139 struct timeval {   139 struct timeval {
140    __time_t tv_sec ;   140    __time_t tv_sec ;
141    __suseconds_t tv_usec ;   141    __suseconds_t tv_usec ;
142 };   142 };
143 typedef __suseconds_t suseconds_t;   143 typedef __suseconds_t suseconds_t;
144 typedef long __fd_mask;   144 typedef long __fd_mask;
145 struct __anonstruct_fd_set_9 {   145 struct __anonstruct_fd_set_9 {
146    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;   146    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
147 };   147 };
148 typedef struct __anonstruct_fd_set_9 fd_set;   148 typedef struct __anonstruct_fd_set_9 fd_set;
149 typedef __fd_mask fd_mask;   149 typedef __fd_mask fd_mask;
150 typedef __blksize_t blksize_t;   150 typedef __blksize_t blksize_t;
151 typedef __blkcnt64_t blkcnt_t;   151 typedef __blkcnt64_t blkcnt_t;
152 typedef __fsblkcnt64_t fsblkcnt_t;   152 typedef __fsblkcnt64_t fsblkcnt_t;
153 typedef __fsfilcnt64_t fsfilcnt_t;   153 typedef __fsfilcnt64_t fsfilcnt_t;
154 typedef unsigned long pthread_t;   154 typedef unsigned long pthread_t;
155 union __anonunion_pthread_attr_t_10 {   155 union __anonunion_pthread_attr_t_10 {
156    char __size[36] ;   156    char __size[36] ;
157    long __align ;   157    long __align ;
158 };   158 };
159 typedef union __anonunion_pthread_attr_t_10 pthread_attr_t;   159 typedef union __anonunion_pthread_attr_t_10 pthread_attr_t;
160 struct __pthread_internal_slist {   160 struct __pthread_internal_slist {
161    struct __pthread_internal_slist *__next ;   161    struct __pthread_internal_slist *__next ;
162 };   162 };
163 typedef struct __pthread_internal_slist __pthread_slist_t;   163 typedef struct __pthread_internal_slist __pthread_slist_t;
164 union __anonunion____missing_field_name_12 {   164 union __anonunion____missing_field_name_12 {
165    int __spins ;   165    int __spins ;
166    __pthread_slist_t __list ;   166    __pthread_slist_t __list ;
167 };   167 };
168 struct __pthread_mutex_s {   168 struct __pthread_mutex_s {
169    int __lock ;   169    int __lock ;
170    unsigned int __count ;   170    unsigned int __count ;
171    int __owner ;   171    int __owner ;
172    int __kind ;   172    int __kind ;
173    unsigned int __nusers ;   173    unsigned int __nusers ;
174    union __anonunion____missing_field_name_12 __annonCompField1 ;   174    union __anonunion____missing_field_name_12 __annonCompField1 ;
175 };   175 };
176 union __anonunion_pthread_mutex_t_11 {   176 union __anonunion_pthread_mutex_t_11 {
177    struct __pthread_mutex_s __data ;   177    struct __pthread_mutex_s __data ;
178    char __size[24] ;   178    char __size[24] ;
179    long __align ;   179    long __align ;
180 };   180 };
181 typedef union __anonunion_pthread_mutex_t_11 pthread_mutex_t;   181 typedef union __anonunion_pthread_mutex_t_11 pthread_mutex_t;
182 union __anonunion_pthread_mutexattr_t_13 {   182 union __anonunion_pthread_mutexattr_t_13 {
183    char __size[4] ;   183    char __size[4] ;
184    long __align ;   184    long __align ;
185 };   185 };
186 typedef union __anonunion_pthread_mutexattr_t_13 pthread_mutexattr_t;   186 typedef union __anonunion_pthread_mutexattr_t_13 pthread_mutexattr_t;
187 struct __anonstruct___data_15 {   187 struct __anonstruct___data_15 {
188    int __lock ;   188    int __lock ;
189    unsigned int __futex ;   189    unsigned int __futex ;
190    unsigned long long __total_seq ;   190    unsigned long long __total_seq ;
191    unsigned long long __wakeup_seq ;   191    unsigned long long __wakeup_seq ;
192    unsigned long long __woken_seq ;   192    unsigned long long __woken_seq ;
193    void *__mutex ;   193    void *__mutex ;
194    unsigned int __nwaiters ;   194    unsigned int __nwaiters ;
195    unsigned int __broadcast_seq ;   195    unsigned int __broadcast_seq ;
196 };   196 };
197 union __anonunion_pthread_cond_t_14 {   197 union __anonunion_pthread_cond_t_14 {
198    struct __anonstruct___data_15 __data ;   198    struct __anonstruct___data_15 __data ;
199    char __size[48] ;   199    char __size[48] ;
200    long long __align ;   200    long long __align ;
201 };   201 };
202 typedef union __anonunion_pthread_cond_t_14 pthread_cond_t;   202 typedef union __anonunion_pthread_cond_t_14 pthread_cond_t;
203 union __anonunion_pthread_condattr_t_16 {   203 union __anonunion_pthread_condattr_t_16 {
204    char __size[4] ;   204    char __size[4] ;
205    long __align ;   205    long __align ;
206 };   206 };
207 typedef union __anonunion_pthread_condattr_t_16 pthread_condattr_t;   207 typedef union __anonunion_pthread_condattr_t_16 pthread_condattr_t;
208 typedef unsigned int pthread_key_t;   208 typedef unsigned int pthread_key_t;
209 typedef int pthread_once_t;   209 typedef int pthread_once_t;
210 struct __anonstruct___data_18 {   210 struct __anonstruct___data_18 {
211    int __lock ;   211    int __lock ;
212    unsigned int __nr_readers ;   212    unsigned int __nr_readers ;
213    unsigned int __readers_wakeup ;   213    unsigned int __readers_wakeup ;
214    unsigned int __writer_wakeup ;   214    unsigned int __writer_wakeup ;
215    unsigned int __nr_readers_queued ;   215    unsigned int __nr_readers_queued ;
216    unsigned int __nr_writers_queued ;   216    unsigned int __nr_writers_queued ;
217    unsigned char __flags ;   217    unsigned char __flags ;
218    unsigned char __shared ;   218    unsigned char __shared ;
219    unsigned char __pad1 ;   219    unsigned char __pad1 ;
220    unsigned char __pad2 ;   220    unsigned char __pad2 ;
221    int __writer ;   221    int __writer ;
222 };   222 };
223 union __anonunion_pthread_rwlock_t_17 {   223 union __anonunion_pthread_rwlock_t_17 {
224    struct __anonstruct___data_18 __data ;   224    struct __anonstruct___data_18 __data ;
225    char __size[32] ;   225    char __size[32] ;
226    long __align ;   226    long __align ;
227 };   227 };
228 typedef union __anonunion_pthread_rwlock_t_17 pthread_rwlock_t;   228 typedef union __anonunion_pthread_rwlock_t_17 pthread_rwlock_t;
229 union __anonunion_pthread_rwlockattr_t_19 {   229 union __anonunion_pthread_rwlockattr_t_19 {
230    char __size[8] ;   230    char __size[8] ;
231    long __align ;   231    long __align ;
232 };   232 };
233 typedef union __anonunion_pthread_rwlockattr_t_19 pthread_rwlockattr_t;   233 typedef union __anonunion_pthread_rwlockattr_t_19 pthread_rwlockattr_t;
234 typedef int volatile   pthread_spinlock_t;   234 typedef int volatile   pthread_spinlock_t;
235 union __anonunion_pthread_barrier_t_20 {   235 union __anonunion_pthread_barrier_t_20 {
236    char __size[20] ;   236    char __size[20] ;
237    long __align ;   237    long __align ;
238 };   238 };
239 typedef union __anonunion_pthread_barrier_t_20 pthread_barrier_t;   239 typedef union __anonunion_pthread_barrier_t_20 pthread_barrier_t;
240 union __anonunion_pthread_barrierattr_t_21 {   240 union __anonunion_pthread_barrierattr_t_21 {
241    char __size[4] ;   241    char __size[4] ;
242    int __align ;   242    int __align ;
243 };   243 };
244 typedef union __anonunion_pthread_barrierattr_t_21 pthread_barrierattr_t;   244 typedef union __anonunion_pthread_barrierattr_t_21 pthread_barrierattr_t;
245 struct random_data {   245 struct random_data {
246    int32_t *fptr ;   246    int32_t *fptr ;
247    int32_t *rptr ;   247    int32_t *rptr ;
248    int32_t *state ;   248    int32_t *state ;
249    int rand_type ;   249    int rand_type ;
250    int rand_deg ;   250    int rand_deg ;
251    int rand_sep ;   251    int rand_sep ;
252    int32_t *end_ptr ;   252    int32_t *end_ptr ;
253 };   253 };
254 struct drand48_data {   254 struct drand48_data {
255    unsigned short __x[3] ;   255    unsigned short __x[3] ;
256    unsigned short __old_x[3] ;   256    unsigned short __old_x[3] ;
257    unsigned short __c ;   257    unsigned short __c ;
258    unsigned short __init ;   258    unsigned short __init ;
259    unsigned long long __a ;   259    unsigned long long __a ;
260 };   260 };
261 typedef int (*__compar_fn_t)(void const   * , void const   * );   261 typedef int (*__compar_fn_t)(void const   * , void const   * );
262 struct flock {   262 struct flock {
263    short l_type ;   263    short l_type ;
264    short l_whence ;   264    short l_whence ;
265    __off64_t l_start ;   265    __off64_t l_start ;
266    __off64_t l_len ;   266    __off64_t l_len ;
267    __pid_t l_pid ;   267    __pid_t l_pid ;
268 };   268 };
269 struct stat {   269 struct stat {
270    __dev_t st_dev ;   270    __dev_t st_dev ;
271    unsigned short __pad1 ;   271    unsigned short __pad1 ;
272    __ino_t __st_ino ;   272    __ino_t __st_ino ;
273    __mode_t st_mode ;   273    __mode_t st_mode ;
274    __nlink_t st_nlink ;   274    __nlink_t st_nlink ;
275    __uid_t st_uid ;   275    __uid_t st_uid ;
276    __gid_t st_gid ;   276    __gid_t st_gid ;
277    __dev_t st_rdev ;   277    __dev_t st_rdev ;
278    unsigned short __pad2 ;   278    unsigned short __pad2 ;
279    __off64_t st_size ;   279    __off64_t st_size ;
280    __blksize_t st_blksize ;   280    __blksize_t st_blksize ;
281    __blkcnt64_t st_blocks ;   281    __blkcnt64_t st_blocks ;
282    struct timespec st_atim ;   282    struct timespec st_atim ;
283    struct timespec st_mtim ;   283    struct timespec st_mtim ;
284    struct timespec st_ctim ;   284    struct timespec st_ctim ;
285    __ino64_t st_ino ;   285    __ino64_t st_ino ;
286 };   286 };
287 struct _IO_FILE;   287 struct _IO_FILE;
288 struct _IO_FILE;   288 struct _IO_FILE;
289 typedef struct _IO_FILE FILE;   289 typedef struct _IO_FILE FILE;
290 typedef struct _IO_FILE __FILE;   290 typedef struct _IO_FILE __FILE;
291 union __anonunion___value_23 {   291 union __anonunion___value_23 {
292    unsigned int __wch ;   292    unsigned int __wch ;
293    char __wchb[4] ;   293    char __wchb[4] ;
294 };   294 };
295 struct __anonstruct___mbstate_t_22 {   295 struct __anonstruct___mbstate_t_22 {
296    int __count ;   296    int __count ;
297    union __anonunion___value_23 __value ;   297    union __anonunion___value_23 __value ;
298 };   298 };
299 typedef struct __anonstruct___mbstate_t_22 __mbstate_t;   299 typedef struct __anonstruct___mbstate_t_22 __mbstate_t;
300 struct __anonstruct__G_fpos_t_24 {   300 struct __anonstruct__G_fpos_t_24 {
301    __off_t __pos ;   301    __off_t __pos ;
302    __mbstate_t __state ;   302    __mbstate_t __state ;
303 };   303 };
304 typedef struct __anonstruct__G_fpos_t_24 _G_fpos_t;   304 typedef struct __anonstruct__G_fpos_t_24 _G_fpos_t;
305 struct __anonstruct__G_fpos64_t_25 {   305 struct __anonstruct__G_fpos64_t_25 {
306    __off64_t __pos ;   306    __off64_t __pos ;
307    __mbstate_t __state ;   307    __mbstate_t __state ;
308 };   308 };
309 typedef struct __anonstruct__G_fpos64_t_25 _G_fpos64_t;   309 typedef struct __anonstruct__G_fpos64_t_25 _G_fpos64_t;
310 typedef short _G_int16_t;   310 typedef short _G_int16_t;
311 typedef int _G_int32_t;   311 typedef int _G_int32_t;
312 typedef unsigned short _G_uint16_t;   312 typedef unsigned short _G_uint16_t;
313 typedef unsigned int _G_uint32_t;   313 typedef unsigned int _G_uint32_t;
314 typedef __builtin_va_list __gnuc_va_list;   314 typedef __builtin_va_list __gnuc_va_list;
315 struct _IO_jump_t;   315 struct _IO_jump_t;
316 struct _IO_jump_t;   316 struct _IO_jump_t;
317 struct _IO_FILE;   317 struct _IO_FILE;
318 typedef void _IO_lock_t;   318 typedef void _IO_lock_t;
319 struct _IO_marker {   319 struct _IO_marker {
320    struct _IO_marker *_next ;   320    struct _IO_marker *_next ;
321    struct _IO_FILE *_sbuf ;   321    struct _IO_FILE *_sbuf ;
322    int _pos ;   322    int _pos ;
323 };   323 };
324 enum __codecvt_result {   324 enum __codecvt_result {
325     __codecvt_ok = 0,   325     __codecvt_ok = 0,
326     __codecvt_partial = 1,   326     __codecvt_partial = 1,
327     __codecvt_error = 2,   327     __codecvt_error = 2,
328     __codecvt_noconv = 3   328     __codecvt_noconv = 3
329 } ;   329 } ;
330 struct _IO_FILE {   330 struct _IO_FILE {
331    int _flags ;   331    int _flags ;
332    char *_IO_read_ptr ;   332    char *_IO_read_ptr ;
333    char *_IO_read_end ;   333    char *_IO_read_end ;
334    char *_IO_read_base ;   334    char *_IO_read_base ;
335    char *_IO_write_base ;   335    char *_IO_write_base ;
336    char *_IO_write_ptr ;   336    char *_IO_write_ptr ;
337    char *_IO_write_end ;   337    char *_IO_write_end ;
338    char *_IO_buf_base ;   338    char *_IO_buf_base ;
339    char *_IO_buf_end ;   339    char *_IO_buf_end ;
340    char *_IO_save_base ;   340    char *_IO_save_base ;
341    char *_IO_backup_base ;   341    char *_IO_backup_base ;
342    char *_IO_save_end ;   342    char *_IO_save_end ;
343    struct _IO_marker *_markers ;   343    struct _IO_marker *_markers ;
344    struct _IO_FILE *_chain ;   344    struct _IO_FILE *_chain ;
345    int _fileno ;   345    int _fileno ;
346    int _flags2 ;   346    int _flags2 ;
347    __off_t _old_offset ;   347    __off_t _old_offset ;
348    unsigned short _cur_column ;   348    unsigned short _cur_column ;
349    signed char _vtable_offset ;   349    signed char _vtable_offset ;
350    char _shortbuf[1] ;   350    char _shortbuf[1] ;
351    _IO_lock_t *_lock ;   351    _IO_lock_t *_lock ;
352    __off64_t _offset ;   352    __off64_t _offset ;
353    void *__pad1 ;   353    void *__pad1 ;
354    void *__pad2 ;   354    void *__pad2 ;
355    void *__pad3 ;   355    void *__pad3 ;
356    void *__pad4 ;   356    void *__pad4 ;
357    size_t __pad5 ;   357    size_t __pad5 ;
358    int _mode ;   358    int _mode ;
359    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;   359    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
360 };   360 };
361 typedef struct _IO_FILE _IO_FILE;   361 typedef struct _IO_FILE _IO_FILE;
362 struct _IO_FILE_plus;   362 struct _IO_FILE_plus;
363 struct _IO_FILE_plus;   363 struct _IO_FILE_plus;
364 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );   364 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
365 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,   365 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,
366                                 size_t __n );   366                                 size_t __n );
367 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );   367 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
368 typedef int __io_close_fn(void *__cookie );   368 typedef int __io_close_fn(void *__cookie );
369 typedef __gnuc_va_list va_list;   369 typedef __gnuc_va_list va_list;
370 typedef _G_fpos64_t fpos_t;   370 typedef _G_fpos64_t fpos_t;
371 typedef __useconds_t useconds_t;   371 typedef __useconds_t useconds_t;
372 typedef __intptr_t intptr_t;   372 typedef __intptr_t intptr_t;
373 typedef __socklen_t socklen_t;   373 typedef __socklen_t socklen_t;
374 enum __anonenum_26 {   374 enum __anonenum_26 {
375     _PC_LINK_MAX = 0,   375     _PC_LINK_MAX = 0,
376     _PC_MAX_CANON = 1,   376     _PC_MAX_CANON = 1,
377     _PC_MAX_INPUT = 2,   377     _PC_MAX_INPUT = 2,
378     _PC_NAME_MAX = 3,   378     _PC_NAME_MAX = 3,
379     _PC_PATH_MAX = 4,   379     _PC_PATH_MAX = 4,
380     _PC_PIPE_BUF = 5,   380     _PC_PIPE_BUF = 5,
381     _PC_CHOWN_RESTRICTED = 6,   381     _PC_CHOWN_RESTRICTED = 6,
382     _PC_NO_TRUNC = 7,   382     _PC_NO_TRUNC = 7,
383     _PC_VDISABLE = 8,   383     _PC_VDISABLE = 8,
384     _PC_SYNC_IO = 9,   384     _PC_SYNC_IO = 9,
385     _PC_ASYNC_IO = 10,   385     _PC_ASYNC_IO = 10,
386     _PC_PRIO_IO = 11,   386     _PC_PRIO_IO = 11,
387     _PC_SOCK_MAXBUF = 12,   387     _PC_SOCK_MAXBUF = 12,
388     _PC_FILESIZEBITS = 13,   388     _PC_FILESIZEBITS = 13,
389     _PC_REC_INCR_XFER_SIZE = 14,   389     _PC_REC_INCR_XFER_SIZE = 14,
390     _PC_REC_MAX_XFER_SIZE = 15,   390     _PC_REC_MAX_XFER_SIZE = 15,
391     _PC_REC_MIN_XFER_SIZE = 16,   391     _PC_REC_MIN_XFER_SIZE = 16,
392     _PC_REC_XFER_ALIGN = 17,   392     _PC_REC_XFER_ALIGN = 17,
393     _PC_ALLOC_SIZE_MIN = 18,   393     _PC_ALLOC_SIZE_MIN = 18,
394     _PC_SYMLINK_MAX = 19,   394     _PC_SYMLINK_MAX = 19,
395     _PC_2_SYMLINKS = 20   395     _PC_2_SYMLINKS = 20
396 } ;   396 } ;
397 enum __anonenum_27 {   397 enum __anonenum_27 {
398     _SC_ARG_MAX = 0,   398     _SC_ARG_MAX = 0,
399     _SC_CHILD_MAX = 1,   399     _SC_CHILD_MAX = 1,
400     _SC_CLK_TCK = 2,   400     _SC_CLK_TCK = 2,
401     _SC_NGROUPS_MAX = 3,   401     _SC_NGROUPS_MAX = 3,
402     _SC_OPEN_MAX = 4,   402     _SC_OPEN_MAX = 4,
403     _SC_STREAM_MAX = 5,   403     _SC_STREAM_MAX = 5,
404     _SC_TZNAME_MAX = 6,   404     _SC_TZNAME_MAX = 6,
405     _SC_JOB_CONTROL = 7,   405     _SC_JOB_CONTROL = 7,
406     _SC_SAVED_IDS = 8,   406     _SC_SAVED_IDS = 8,
407     _SC_REALTIME_SIGNALS = 9,   407     _SC_REALTIME_SIGNALS = 9,
408     _SC_PRIORITY_SCHEDULING = 10,   408     _SC_PRIORITY_SCHEDULING = 10,
409     _SC_TIMERS = 11,   409     _SC_TIMERS = 11,
410     _SC_ASYNCHRONOUS_IO = 12,   410     _SC_ASYNCHRONOUS_IO = 12,
411     _SC_PRIORITIZED_IO = 13,   411     _SC_PRIORITIZED_IO = 13,
412     _SC_SYNCHRONIZED_IO = 14,   412     _SC_SYNCHRONIZED_IO = 14,
413     _SC_FSYNC = 15,   413     _SC_FSYNC = 15,
414     _SC_MAPPED_FILES = 16,   414     _SC_MAPPED_FILES = 16,
415     _SC_MEMLOCK = 17,   415     _SC_MEMLOCK = 17,
416     _SC_MEMLOCK_RANGE = 18,   416     _SC_MEMLOCK_RANGE = 18,
417     _SC_MEMORY_PROTECTION = 19,   417     _SC_MEMORY_PROTECTION = 19,
418     _SC_MESSAGE_PASSING = 20,   418     _SC_MESSAGE_PASSING = 20,
419     _SC_SEMAPHORES = 21,   419     _SC_SEMAPHORES = 21,
420     _SC_SHARED_MEMORY_OBJECTS = 22,   420     _SC_SHARED_MEMORY_OBJECTS = 22,
421     _SC_AIO_LISTIO_MAX = 23,   421     _SC_AIO_LISTIO_MAX = 23,
422     _SC_AIO_MAX = 24,   422     _SC_AIO_MAX = 24,
423     _SC_AIO_PRIO_DELTA_MAX = 25,   423     _SC_AIO_PRIO_DELTA_MAX = 25,
424     _SC_DELAYTIMER_MAX = 26,   424     _SC_DELAYTIMER_MAX = 26,
425     _SC_MQ_OPEN_MAX = 27,   425     _SC_MQ_OPEN_MAX = 27,
426     _SC_MQ_PRIO_MAX = 28,   426     _SC_MQ_PRIO_MAX = 28,
427     _SC_VERSION = 29,   427     _SC_VERSION = 29,
428     _SC_PAGESIZE = 30,   428     _SC_PAGESIZE = 30,
429     _SC_RTSIG_MAX = 31,   429     _SC_RTSIG_MAX = 31,
430     _SC_SEM_NSEMS_MAX = 32,   430     _SC_SEM_NSEMS_MAX = 32,
431     _SC_SEM_VALUE_MAX = 33,   431     _SC_SEM_VALUE_MAX = 33,
432     _SC_SIGQUEUE_MAX = 34,   432     _SC_SIGQUEUE_MAX = 34,
433     _SC_TIMER_MAX = 35,   433     _SC_TIMER_MAX = 35,
434     _SC_BC_BASE_MAX = 36,   434     _SC_BC_BASE_MAX = 36,
435     _SC_BC_DIM_MAX = 37,   435     _SC_BC_DIM_MAX = 37,
436     _SC_BC_SCALE_MAX = 38,   436     _SC_BC_SCALE_MAX = 38,
437     _SC_BC_STRING_MAX = 39,   437     _SC_BC_STRING_MAX = 39,
438     _SC_COLL_WEIGHTS_MAX = 40,   438     _SC_COLL_WEIGHTS_MAX = 40,
439     _SC_EQUIV_CLASS_MAX = 41,   439     _SC_EQUIV_CLASS_MAX = 41,
440     _SC_EXPR_NEST_MAX = 42,   440     _SC_EXPR_NEST_MAX = 42,
441     _SC_LINE_MAX = 43,   441     _SC_LINE_MAX = 43,
442     _SC_RE_DUP_MAX = 44,   442     _SC_RE_DUP_MAX = 44,
443     _SC_CHARCLASS_NAME_MAX = 45,   443     _SC_CHARCLASS_NAME_MAX = 45,
444     _SC_2_VERSION = 46,   444     _SC_2_VERSION = 46,
445     _SC_2_C_BIND = 47,   445     _SC_2_C_BIND = 47,
446     _SC_2_C_DEV = 48,   446     _SC_2_C_DEV = 48,
447     _SC_2_FORT_DEV = 49,   447     _SC_2_FORT_DEV = 49,
448     _SC_2_FORT_RUN = 50,   448     _SC_2_FORT_RUN = 50,
449     _SC_2_SW_DEV = 51,   449     _SC_2_SW_DEV = 51,
450     _SC_2_LOCALEDEF = 52,   450     _SC_2_LOCALEDEF = 52,
451     _SC_PII = 53,   451     _SC_PII = 53,
452     _SC_PII_XTI = 54,   452     _SC_PII_XTI = 54,
453     _SC_PII_SOCKET = 55,   453     _SC_PII_SOCKET = 55,
454     _SC_PII_INTERNET = 56,   454     _SC_PII_INTERNET = 56,
455     _SC_PII_OSI = 57,   455     _SC_PII_OSI = 57,
456     _SC_POLL = 58,   456     _SC_POLL = 58,
457     _SC_SELECT = 59,   457     _SC_SELECT = 59,
458     _SC_UIO_MAXIOV = 60,   458     _SC_UIO_MAXIOV = 60,
459     _SC_IOV_MAX = 60,   459     _SC_IOV_MAX = 60,
460     _SC_PII_INTERNET_STREAM = 61,   460     _SC_PII_INTERNET_STREAM = 61,
461     _SC_PII_INTERNET_DGRAM = 62,   461     _SC_PII_INTERNET_DGRAM = 62,
462     _SC_PII_OSI_COTS = 63,   462     _SC_PII_OSI_COTS = 63,
463     _SC_PII_OSI_CLTS = 64,   463     _SC_PII_OSI_CLTS = 64,
464     _SC_PII_OSI_M = 65,   464     _SC_PII_OSI_M = 65,
465     _SC_T_IOV_MAX = 66,   465     _SC_T_IOV_MAX = 66,
466     _SC_THREADS = 67,   466     _SC_THREADS = 67,
467     _SC_THREAD_SAFE_FUNCTIONS = 68,   467     _SC_THREAD_SAFE_FUNCTIONS = 68,
468     _SC_GETGR_R_SIZE_MAX = 69,   468     _SC_GETGR_R_SIZE_MAX = 69,
469     _SC_GETPW_R_SIZE_MAX = 70,   469     _SC_GETPW_R_SIZE_MAX = 70,
470     _SC_LOGIN_NAME_MAX = 71,   470     _SC_LOGIN_NAME_MAX = 71,
471     _SC_TTY_NAME_MAX = 72,   471     _SC_TTY_NAME_MAX = 72,
472     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,   472     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,
473     _SC_THREAD_KEYS_MAX = 74,   473     _SC_THREAD_KEYS_MAX = 74,
474     _SC_THREAD_STACK_MIN = 75,   474     _SC_THREAD_STACK_MIN = 75,
475     _SC_THREAD_THREADS_MAX = 76,   475     _SC_THREAD_THREADS_MAX = 76,
476     _SC_THREAD_ATTR_STACKADDR = 77,   476     _SC_THREAD_ATTR_STACKADDR = 77,
477     _SC_THREAD_ATTR_STACKSIZE = 78,   477     _SC_THREAD_ATTR_STACKSIZE = 78,
478     _SC_THREAD_PRIORITY_SCHEDULING = 79,   478     _SC_THREAD_PRIORITY_SCHEDULING = 79,
479     _SC_THREAD_PRIO_INHERIT = 80,   479     _SC_THREAD_PRIO_INHERIT = 80,
480     _SC_THREAD_PRIO_PROTECT = 81,   480     _SC_THREAD_PRIO_PROTECT = 81,
481     _SC_THREAD_PROCESS_SHARED = 82,   481     _SC_THREAD_PROCESS_SHARED = 82,
482     _SC_NPROCESSORS_CONF = 83,   482     _SC_NPROCESSORS_CONF = 83,
483     _SC_NPROCESSORS_ONLN = 84,   483     _SC_NPROCESSORS_ONLN = 84,
484     _SC_PHYS_PAGES = 85,   484     _SC_PHYS_PAGES = 85,
485     _SC_AVPHYS_PAGES = 86,   485     _SC_AVPHYS_PAGES = 86,
486     _SC_ATEXIT_MAX = 87,   486     _SC_ATEXIT_MAX = 87,
487     _SC_PASS_MAX = 88,   487     _SC_PASS_MAX = 88,
488     _SC_XOPEN_VERSION = 89,   488     _SC_XOPEN_VERSION = 89,
489     _SC_XOPEN_XCU_VERSION = 90,   489     _SC_XOPEN_XCU_VERSION = 90,
490     _SC_XOPEN_UNIX = 91,   490     _SC_XOPEN_UNIX = 91,
491     _SC_XOPEN_CRYPT = 92,   491     _SC_XOPEN_CRYPT = 92,
492     _SC_XOPEN_ENH_I18N = 93,   492     _SC_XOPEN_ENH_I18N = 93,
493     _SC_XOPEN_SHM = 94,   493     _SC_XOPEN_SHM = 94,
494     _SC_2_CHAR_TERM = 95,   494     _SC_2_CHAR_TERM = 95,
495     _SC_2_C_VERSION = 96,   495     _SC_2_C_VERSION = 96,
496     _SC_2_UPE = 97,   496     _SC_2_UPE = 97,
497     _SC_XOPEN_XPG2 = 98,   497     _SC_XOPEN_XPG2 = 98,
498     _SC_XOPEN_XPG3 = 99,   498     _SC_XOPEN_XPG3 = 99,
499     _SC_XOPEN_XPG4 = 100,   499     _SC_XOPEN_XPG4 = 100,
500     _SC_CHAR_BIT = 101,   500     _SC_CHAR_BIT = 101,
501     _SC_CHAR_MAX = 102,   501     _SC_CHAR_MAX = 102,
502     _SC_CHAR_MIN = 103,   502     _SC_CHAR_MIN = 103,
503     _SC_INT_MAX = 104,   503     _SC_INT_MAX = 104,
504     _SC_INT_MIN = 105,   504     _SC_INT_MIN = 105,
505     _SC_LONG_BIT = 106,   505     _SC_LONG_BIT = 106,
506     _SC_WORD_BIT = 107,   506     _SC_WORD_BIT = 107,
507     _SC_MB_LEN_MAX = 108,   507     _SC_MB_LEN_MAX = 108,
508     _SC_NZERO = 109,   508     _SC_NZERO = 109,
509     _SC_SSIZE_MAX = 110,   509     _SC_SSIZE_MAX = 110,
510     _SC_SCHAR_MAX = 111,   510     _SC_SCHAR_MAX = 111,
511     _SC_SCHAR_MIN = 112,   511     _SC_SCHAR_MIN = 112,
512     _SC_SHRT_MAX = 113,   512     _SC_SHRT_MAX = 113,
513     _SC_SHRT_MIN = 114,   513     _SC_SHRT_MIN = 114,
514     _SC_UCHAR_MAX = 115,   514     _SC_UCHAR_MAX = 115,
515     _SC_UINT_MAX = 116,   515     _SC_UINT_MAX = 116,
516     _SC_ULONG_MAX = 117,   516     _SC_ULONG_MAX = 117,
517     _SC_USHRT_MAX = 118,   517     _SC_USHRT_MAX = 118,
518     _SC_NL_ARGMAX = 119,   518     _SC_NL_ARGMAX = 119,
519     _SC_NL_LANGMAX = 120,   519     _SC_NL_LANGMAX = 120,
520     _SC_NL_MSGMAX = 121,   520     _SC_NL_MSGMAX = 121,
521     _SC_NL_NMAX = 122,   521     _SC_NL_NMAX = 122,
522     _SC_NL_SETMAX = 123,   522     _SC_NL_SETMAX = 123,
523     _SC_NL_TEXTMAX = 124,   523     _SC_NL_TEXTMAX = 124,
524     _SC_XBS5_ILP32_OFF32 = 125,   524     _SC_XBS5_ILP32_OFF32 = 125,
525     _SC_XBS5_ILP32_OFFBIG = 126,   525     _SC_XBS5_ILP32_OFFBIG = 126,
526     _SC_XBS5_LP64_OFF64 = 127,   526     _SC_XBS5_LP64_OFF64 = 127,
527     _SC_XBS5_LPBIG_OFFBIG = 128,   527     _SC_XBS5_LPBIG_OFFBIG = 128,
528     _SC_XOPEN_LEGACY = 129,   528     _SC_XOPEN_LEGACY = 129,
529     _SC_XOPEN_REALTIME = 130,   529     _SC_XOPEN_REALTIME = 130,
530     _SC_XOPEN_REALTIME_THREADS = 131,   530     _SC_XOPEN_REALTIME_THREADS = 131,
531     _SC_ADVISORY_INFO = 132,   531     _SC_ADVISORY_INFO = 132,
532     _SC_BARRIERS = 133,   532     _SC_BARRIERS = 133,
533     _SC_BASE = 134,   533     _SC_BASE = 134,
534     _SC_C_LANG_SUPPORT = 135,   534     _SC_C_LANG_SUPPORT = 135,
535     _SC_C_LANG_SUPPORT_R = 136,   535     _SC_C_LANG_SUPPORT_R = 136,
536     _SC_CLOCK_SELECTION = 137,   536     _SC_CLOCK_SELECTION = 137,
537     _SC_CPUTIME = 138,   537     _SC_CPUTIME = 138,
538     _SC_THREAD_CPUTIME = 139,   538     _SC_THREAD_CPUTIME = 139,
539     _SC_DEVICE_IO = 140,   539     _SC_DEVICE_IO = 140,
540     _SC_DEVICE_SPECIFIC = 141,   540     _SC_DEVICE_SPECIFIC = 141,
541     _SC_DEVICE_SPECIFIC_R = 142,   541     _SC_DEVICE_SPECIFIC_R = 142,
542     _SC_FD_MGMT = 143,   542     _SC_FD_MGMT = 143,
543     _SC_FIFO = 144,   543     _SC_FIFO = 144,
544     _SC_PIPE = 145,   544     _SC_PIPE = 145,
545     _SC_FILE_ATTRIBUTES = 146,   545     _SC_FILE_ATTRIBUTES = 146,
546     _SC_FILE_LOCKING = 147,   546     _SC_FILE_LOCKING = 147,
547     _SC_FILE_SYSTEM = 148,   547     _SC_FILE_SYSTEM = 148,
548     _SC_MONOTONIC_CLOCK = 149,   548     _SC_MONOTONIC_CLOCK = 149,
549     _SC_MULTI_PROCESS = 150,   549     _SC_MULTI_PROCESS = 150,
550     _SC_SINGLE_PROCESS = 151,   550     _SC_SINGLE_PROCESS = 151,
551     _SC_NETWORKING = 152,   551     _SC_NETWORKING = 152,
552     _SC_READER_WRITER_LOCKS = 153,   552     _SC_READER_WRITER_LOCKS = 153,
553     _SC_SPIN_LOCKS = 154,   553     _SC_SPIN_LOCKS = 154,
554     _SC_REGEXP = 155,   554     _SC_REGEXP = 155,
555     _SC_REGEX_VERSION = 156,   555     _SC_REGEX_VERSION = 156,
556     _SC_SHELL = 157,   556     _SC_SHELL = 157,
557     _SC_SIGNALS = 158,   557     _SC_SIGNALS = 158,
558     _SC_SPAWN = 159,   558     _SC_SPAWN = 159,
559     _SC_SPORADIC_SERVER = 160,   559     _SC_SPORADIC_SERVER = 160,
560     _SC_THREAD_SPORADIC_SERVER = 161,   560     _SC_THREAD_SPORADIC_SERVER = 161,
561     _SC_SYSTEM_DATABASE = 162,   561     _SC_SYSTEM_DATABASE = 162,
562     _SC_SYSTEM_DATABASE_R = 163,   562     _SC_SYSTEM_DATABASE_R = 163,
563     _SC_TIMEOUTS = 164,   563     _SC_TIMEOUTS = 164,
564     _SC_TYPED_MEMORY_OBJECTS = 165,   564     _SC_TYPED_MEMORY_OBJECTS = 165,
565     _SC_USER_GROUPS = 166,   565     _SC_USER_GROUPS = 166,
566     _SC_USER_GROUPS_R = 167,   566     _SC_USER_GROUPS_R = 167,
567     _SC_2_PBS = 168,   567     _SC_2_PBS = 168,
568     _SC_2_PBS_ACCOUNTING = 169,   568     _SC_2_PBS_ACCOUNTING = 169,
569     _SC_2_PBS_LOCATE = 170,   569     _SC_2_PBS_LOCATE = 170,
570     _SC_2_PBS_MESSAGE = 171,   570     _SC_2_PBS_MESSAGE = 171,
571     _SC_2_PBS_TRACK = 172,   571     _SC_2_PBS_TRACK = 172,
572     _SC_SYMLOOP_MAX = 173,   572     _SC_SYMLOOP_MAX = 173,
573     _SC_STREAMS = 174,   573     _SC_STREAMS = 174,
574     _SC_2_PBS_CHECKPOINT = 175,   574     _SC_2_PBS_CHECKPOINT = 175,
575     _SC_V6_ILP32_OFF32 = 176,   575     _SC_V6_ILP32_OFF32 = 176,
576     _SC_V6_ILP32_OFFBIG = 177,   576     _SC_V6_ILP32_OFFBIG = 177,
577     _SC_V6_LP64_OFF64 = 178,   577     _SC_V6_LP64_OFF64 = 178,
578     _SC_V6_LPBIG_OFFBIG = 179,   578     _SC_V6_LPBIG_OFFBIG = 179,
579     _SC_HOST_NAME_MAX = 180,   579     _SC_HOST_NAME_MAX = 180,
580     _SC_TRACE = 181,   580     _SC_TRACE = 181,
581     _SC_TRACE_EVENT_FILTER = 182,   581     _SC_TRACE_EVENT_FILTER = 182,
582     _SC_TRACE_INHERIT = 183,   582     _SC_TRACE_INHERIT = 183,
583     _SC_TRACE_LOG = 184,   583     _SC_TRACE_LOG = 184,
584     _SC_LEVEL1_ICACHE_SIZE = 185,   584     _SC_LEVEL1_ICACHE_SIZE = 185,
585     _SC_LEVEL1_ICACHE_ASSOC = 186,   585     _SC_LEVEL1_ICACHE_ASSOC = 186,
586     _SC_LEVEL1_ICACHE_LINESIZE = 187,   586     _SC_LEVEL1_ICACHE_LINESIZE = 187,
587     _SC_LEVEL1_DCACHE_SIZE = 188,   587     _SC_LEVEL1_DCACHE_SIZE = 188,
588     _SC_LEVEL1_DCACHE_ASSOC = 189,   588     _SC_LEVEL1_DCACHE_ASSOC = 189,
589     _SC_LEVEL1_DCACHE_LINESIZE = 190,   589     _SC_LEVEL1_DCACHE_LINESIZE = 190,
590     _SC_LEVEL2_CACHE_SIZE = 191,   590     _SC_LEVEL2_CACHE_SIZE = 191,
591     _SC_LEVEL2_CACHE_ASSOC = 192,   591     _SC_LEVEL2_CACHE_ASSOC = 192,
592     _SC_LEVEL2_CACHE_LINESIZE = 193,   592     _SC_LEVEL2_CACHE_LINESIZE = 193,
593     _SC_LEVEL3_CACHE_SIZE = 194,   593     _SC_LEVEL3_CACHE_SIZE = 194,
594     _SC_LEVEL3_CACHE_ASSOC = 195,   594     _SC_LEVEL3_CACHE_ASSOC = 195,
595     _SC_LEVEL3_CACHE_LINESIZE = 196,   595     _SC_LEVEL3_CACHE_LINESIZE = 196,
596     _SC_LEVEL4_CACHE_SIZE = 197,   596     _SC_LEVEL4_CACHE_SIZE = 197,
597     _SC_LEVEL4_CACHE_ASSOC = 198,   597     _SC_LEVEL4_CACHE_ASSOC = 198,
598     _SC_LEVEL4_CACHE_LINESIZE = 199,   598     _SC_LEVEL4_CACHE_LINESIZE = 199,
599     _SC_IPV6 = 235,   599     _SC_IPV6 = 235,
600     _SC_RAW_SOCKETS = 236,   600     _SC_RAW_SOCKETS = 236,
601     _SC_V7_ILP32_OFF32 = 237,   601     _SC_V7_ILP32_OFF32 = 237,
602     _SC_V7_ILP32_OFFBIG = 238,   602     _SC_V7_ILP32_OFFBIG = 238,
603     _SC_V7_LP64_OFF64 = 239,   603     _SC_V7_LP64_OFF64 = 239,
604     _SC_V7_LPBIG_OFFBIG = 240,   604     _SC_V7_LPBIG_OFFBIG = 240,
605     _SC_SS_REPL_MAX = 241,   605     _SC_SS_REPL_MAX = 241,
606     _SC_TRACE_EVENT_NAME_MAX = 242,   606     _SC_TRACE_EVENT_NAME_MAX = 242,
607     _SC_TRACE_NAME_MAX = 243,   607     _SC_TRACE_NAME_MAX = 243,
608     _SC_TRACE_SYS_MAX = 244,   608     _SC_TRACE_SYS_MAX = 244,
609     _SC_TRACE_USER_EVENT_MAX = 245,   609     _SC_TRACE_USER_EVENT_MAX = 245,
610     _SC_XOPEN_STREAMS = 246,   610     _SC_XOPEN_STREAMS = 246,
611     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,   611     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,
612     _SC_THREAD_ROBUST_PRIO_PROTECT = 248   612     _SC_THREAD_ROBUST_PRIO_PROTECT = 248
613 } ;   613 } ;
614 enum __anonenum_28 {   614 enum __anonenum_28 {
615     _CS_PATH = 0,   615     _CS_PATH = 0,
616     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,   616     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,
617     _CS_GNU_LIBC_VERSION = 2,   617     _CS_GNU_LIBC_VERSION = 2,
618     _CS_GNU_LIBPTHREAD_VERSION = 3,   618     _CS_GNU_LIBPTHREAD_VERSION = 3,
619     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,   619     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,
620     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,   620     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,
621     _CS_LFS_CFLAGS = 1000,   621     _CS_LFS_CFLAGS = 1000,
622     _CS_LFS_LDFLAGS = 1001,   622     _CS_LFS_LDFLAGS = 1001,
623     _CS_LFS_LIBS = 1002,   623     _CS_LFS_LIBS = 1002,
624     _CS_LFS_LINTFLAGS = 1003,   624     _CS_LFS_LINTFLAGS = 1003,
625     _CS_LFS64_CFLAGS = 1004,   625     _CS_LFS64_CFLAGS = 1004,
626     _CS_LFS64_LDFLAGS = 1005,   626     _CS_LFS64_LDFLAGS = 1005,
627     _CS_LFS64_LIBS = 1006,   627     _CS_LFS64_LIBS = 1006,
628     _CS_LFS64_LINTFLAGS = 1007,   628     _CS_LFS64_LINTFLAGS = 1007,
629     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,   629     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
630     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,   630     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,
631     _CS_XBS5_ILP32_OFF32_LIBS = 1102,   631     _CS_XBS5_ILP32_OFF32_LIBS = 1102,
632     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,   632     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,
633     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,   633     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,
634     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,   634     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,
635     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,   635     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,
636     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,   636     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,
637     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,   637     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,
638     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,   638     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,
639     _CS_XBS5_LP64_OFF64_LIBS = 1110,   639     _CS_XBS5_LP64_OFF64_LIBS = 1110,
640     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,   640     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,
641     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,   641     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,
642     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,   642     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,
643     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,   643     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,
644     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,   644     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,
645     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,   645     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,
646     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,   646     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,
647     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,   647     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,
648     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,   648     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,
649     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,   649     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,
650     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,   650     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,
651     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,   651     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,
652     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,   652     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,
653     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,   653     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,
654     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,   654     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,
655     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,   655     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,
656     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,   656     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,
657     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,   657     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,
658     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,   658     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,
659     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,   659     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,
660     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,   660     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,
661     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,   661     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,
662     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,   662     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,
663     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,   663     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,
664     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,   664     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,
665     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,   665     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,
666     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,   666     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,
667     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,   667     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,
668     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,   668     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,
669     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,   669     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,
670     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,   670     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,
671     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,   671     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,
672     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,   672     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,
673     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,   673     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,
674     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,   674     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,
675     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,   675     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,
676     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,   676     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,
677     _CS_V6_ENV = 1148,   677     _CS_V6_ENV = 1148,
678     _CS_V7_ENV = 1149   678     _CS_V7_ENV = 1149
679 } ;   679 } ;
680 typedef __sig_atomic_t sig_atomic_t;   680 typedef __sig_atomic_t sig_atomic_t;
681 union sigval {   681 union sigval {
682    int sival_int ;   682    int sival_int ;
683    void *sival_ptr ;   683    void *sival_ptr ;
684 };   684 };
685 typedef union sigval sigval_t;   685 typedef union sigval sigval_t;
686 struct __anonstruct__kill_30 {   686 struct __anonstruct__kill_30 {
687    __pid_t si_pid ;   687    __pid_t si_pid ;
688    __uid_t si_uid ;   688    __uid_t si_uid ;
689 };   689 };
690 struct __anonstruct__timer_31 {   690 struct __anonstruct__timer_31 {
691    int si_tid ;   691    int si_tid ;
692    int si_overrun ;   692    int si_overrun ;
693    sigval_t si_sigval ;   693    sigval_t si_sigval ;
694 };   694 };
695 struct __anonstruct__rt_32 {   695 struct __anonstruct__rt_32 {
696    __pid_t si_pid ;   696    __pid_t si_pid ;
697    __uid_t si_uid ;   697    __uid_t si_uid ;
698    sigval_t si_sigval ;   698    sigval_t si_sigval ;
699 };   699 };
700 struct __anonstruct__sigchld_33 {   700 struct __anonstruct__sigchld_33 {
701    __pid_t si_pid ;   701    __pid_t si_pid ;
702    __uid_t si_uid ;   702    __uid_t si_uid ;
703    int si_status ;   703    int si_status ;
704    __clock_t si_utime ;   704    __clock_t si_utime ;
705    __clock_t si_stime ;   705    __clock_t si_stime ;
706 };   706 };
707 struct __anonstruct__sigfault_34 {   707 struct __anonstruct__sigfault_34 {
708    void *si_addr ;   708    void *si_addr ;
709 };   709 };
710 struct __anonstruct__sigpoll_35 {   710 struct __anonstruct__sigpoll_35 {
711    long si_band ;   711    long si_band ;
712    int si_fd ;   712    int si_fd ;
713 };   713 };
714 union __anonunion__sifields_29 {   714 union __anonunion__sifields_29 {
715    int _pad[128U / sizeof(int ) - 3U] ;   715    int _pad[128U / sizeof(int ) - 3U] ;
716    struct __anonstruct__kill_30 _kill ;   716    struct __anonstruct__kill_30 _kill ;
717    struct __anonstruct__timer_31 _timer ;   717    struct __anonstruct__timer_31 _timer ;
718    struct __anonstruct__rt_32 _rt ;   718    struct __anonstruct__rt_32 _rt ;
719    struct __anonstruct__sigchld_33 _sigchld ;   719    struct __anonstruct__sigchld_33 _sigchld ;
720    struct __anonstruct__sigfault_34 _sigfault ;   720    struct __anonstruct__sigfault_34 _sigfault ;
721    struct __anonstruct__sigpoll_35 _sigpoll ;   721    struct __anonstruct__sigpoll_35 _sigpoll ;
722 };   722 };
723 struct siginfo {   723 struct siginfo {
724    int si_signo ;   724    int si_signo ;
725    int si_errno ;   725    int si_errno ;
726    int si_code ;   726    int si_code ;
727    union __anonunion__sifields_29 _sifields ;   727    union __anonunion__sifields_29 _sifields ;
728 };   728 };
729 typedef struct siginfo siginfo_t;   729 typedef struct siginfo siginfo_t;
730 enum __anonenum_36 {   730 enum __anonenum_36 {
731     SI_ASYNCNL = -60,   731     SI_ASYNCNL = -60,
732     SI_TKILL = -6,   732     SI_TKILL = -6,
733     SI_SIGIO = -5,   733     SI_SIGIO = -5,
734     SI_ASYNCIO = -4,   734     SI_ASYNCIO = -4,
735     SI_MESGQ = -3,   735     SI_MESGQ = -3,
736     SI_TIMER = -2,   736     SI_TIMER = -2,
737     SI_QUEUE = -1,   737     SI_QUEUE = -1,
738     SI_USER = 0,   738     SI_USER = 0,
739     SI_KERNEL = 128   739     SI_KERNEL = 128
740 } ;   740 } ;
741 enum __anonenum_37 {   741 enum __anonenum_37 {
742     ILL_ILLOPC = 1,   742     ILL_ILLOPC = 1,
743     ILL_ILLOPN = 2,   743     ILL_ILLOPN = 2,
744     ILL_ILLADR = 3,   744     ILL_ILLADR = 3,
745     ILL_ILLTRP = 4,   745     ILL_ILLTRP = 4,
746     ILL_PRVOPC = 5,   746     ILL_PRVOPC = 5,
747     ILL_PRVREG = 6,   747     ILL_PRVREG = 6,
748     ILL_COPROC = 7,   748     ILL_COPROC = 7,
749     ILL_BADSTK = 8   749     ILL_BADSTK = 8
750 } ;   750 } ;
751 enum __anonenum_38 {   751 enum __anonenum_38 {
752     FPE_INTDIV = 1,   752     FPE_INTDIV = 1,
753     FPE_INTOVF = 2,   753     FPE_INTOVF = 2,
754     FPE_FLTDIV = 3,   754     FPE_FLTDIV = 3,
755     FPE_FLTOVF = 4,   755     FPE_FLTOVF = 4,
756     FPE_FLTUND = 5,   756     FPE_FLTUND = 5,
757     FPE_FLTRES = 6,   757     FPE_FLTRES = 6,
758     FPE_FLTINV = 7,   758     FPE_FLTINV = 7,
759     FPE_FLTSUB = 8   759     FPE_FLTSUB = 8
760 } ;   760 } ;
761 enum __anonenum_39 {   761 enum __anonenum_39 {
762     SEGV_MAPERR = 1,   762     SEGV_MAPERR = 1,
763     SEGV_ACCERR = 2   763     SEGV_ACCERR = 2
764 } ;   764 } ;
765 enum __anonenum_40 {   765 enum __anonenum_40 {
766     BUS_ADRALN = 1,   766     BUS_ADRALN = 1,
767     BUS_ADRERR = 2,   767     BUS_ADRERR = 2,
768     BUS_OBJERR = 3   768     BUS_OBJERR = 3
769 } ;   769 } ;
770 enum __anonenum_41 {   770 enum __anonenum_41 {
771     TRAP_BRKPT = 1,   771     TRAP_BRKPT = 1,
772     TRAP_TRACE = 2   772     TRAP_TRACE = 2
773 } ;   773 } ;
774 enum __anonenum_42 {   774 enum __anonenum_42 {
775     CLD_EXITED = 1,   775     CLD_EXITED = 1,
776     CLD_KILLED = 2,   776     CLD_KILLED = 2,
777     CLD_DUMPED = 3,   777     CLD_DUMPED = 3,
778     CLD_TRAPPED = 4,   778     CLD_TRAPPED = 4,
779     CLD_STOPPED = 5,   779     CLD_STOPPED = 5,
780     CLD_CONTINUED = 6   780     CLD_CONTINUED = 6
781 } ;   781 } ;
782 enum __anonenum_43 {   782 enum __anonenum_43 {
783     POLL_IN = 1,   783     POLL_IN = 1,
784     POLL_OUT = 2,   784     POLL_OUT = 2,
785     POLL_MSG = 3,   785     POLL_MSG = 3,
786     POLL_ERR = 4,   786     POLL_ERR = 4,
787     POLL_PRI = 5,   787     POLL_PRI = 5,
788     POLL_HUP = 6   788     POLL_HUP = 6
789 } ;   789 } ;
790 struct __anonstruct__sigev_thread_45 {   790 struct __anonstruct__sigev_thread_45 {
791    void (*_function)(sigval_t  ) ;   791    void (*_function)(sigval_t  ) ;
792    void *_attribute ;   792    void *_attribute ;
793 };   793 };
794 union __anonunion__sigev_un_44 {   794 union __anonunion__sigev_un_44 {
795    int _pad[64U / sizeof(int ) - 3U] ;   795    int _pad[64U / sizeof(int ) - 3U] ;
796    __pid_t _tid ;   796    __pid_t _tid ;
797    struct __anonstruct__sigev_thread_45 _sigev_thread ;   797    struct __anonstruct__sigev_thread_45 _sigev_thread ;
798 };   798 };
799 struct sigevent {   799 struct sigevent {
800    sigval_t sigev_value ;   800    sigval_t sigev_value ;
801    int sigev_signo ;   801    int sigev_signo ;
802    int sigev_notify ;   802    int sigev_notify ;
803    union __anonunion__sigev_un_44 _sigev_un ;   803    union __anonunion__sigev_un_44 _sigev_un ;
804 };   804 };
805 typedef struct sigevent sigevent_t;   805 typedef struct sigevent sigevent_t;
806 enum __anonenum_46 {   806 enum __anonenum_46 {
807     SIGEV_SIGNAL = 0,   807     SIGEV_SIGNAL = 0,
808     SIGEV_NONE = 1,   808     SIGEV_NONE = 1,
809     SIGEV_THREAD = 2,   809     SIGEV_THREAD = 2,
810     SIGEV_THREAD_ID = 4   810     SIGEV_THREAD_ID = 4
811 } ;   811 } ;
812 typedef void (*__sighandler_t)(int  );   812 typedef void (*__sighandler_t)(int  );
813 typedef void (*sig_t)(int  );   813 typedef void (*sig_t)(int  );
814 union __anonunion___sigaction_handler_47 {   814 union __anonunion___sigaction_handler_47 {
815    void (*sa_handler)(int  ) ;   815    void (*sa_handler)(int  ) ;
816    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;   816    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;
817 };   817 };
818 struct sigaction {   818 struct sigaction {
819    union __anonunion___sigaction_handler_47 __sigaction_handler ;   819    union __anonunion___sigaction_handler_47 __sigaction_handler ;
820    __sigset_t sa_mask ;   820    __sigset_t sa_mask ;
821    int sa_flags ;   821    int sa_flags ;
822    void (*sa_restorer)(void) ;   822    void (*sa_restorer)(void) ;
823 };   823 };
824 struct sigvec {   824 struct sigvec {
825    void (*sv_handler)(int  ) ;   825    void (*sv_handler)(int  ) ;
826    int sv_mask ;   826    int sv_mask ;
827    int sv_flags ;   827    int sv_flags ;
828 };   828 };
829 typedef signed char __s8;   829 typedef signed char __s8;
830 typedef unsigned char __u8;   830 typedef unsigned char __u8;
831 typedef short __s16;   831 typedef short __s16;
832 typedef unsigned short __u16;   832 typedef unsigned short __u16;
833 typedef int __s32;   833 typedef int __s32;
834 typedef unsigned int __u32;   834 typedef unsigned int __u32;
835 typedef long long __s64;   835 typedef long long __s64;
836 typedef unsigned long long __u64;   836 typedef unsigned long long __u64;
837 typedef unsigned short umode_t;   837 typedef unsigned short umode_t;
838 struct __anonstruct___kernel_fd_set_48 {   838 struct __anonstruct___kernel_fd_set_48 {
839    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;   839    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;
840 };   840 };
841 typedef struct __anonstruct___kernel_fd_set_48 __kernel_fd_set;   841 typedef struct __anonstruct___kernel_fd_set_48 __kernel_fd_set;
842 typedef void (*__kernel_sighandler_t)(int  );   842 typedef void (*__kernel_sighandler_t)(int  );
843 typedef int __kernel_key_t;   843 typedef int __kernel_key_t;
844 typedef int __kernel_mqd_t;   844 typedef int __kernel_mqd_t;
845 typedef unsigned long __kernel_ino_t;   845 typedef unsigned long __kernel_ino_t;
846 typedef unsigned short __kernel_mode_t;   846 typedef unsigned short __kernel_mode_t;
847 typedef unsigned short __kernel_nlink_t;   847 typedef unsigned short __kernel_nlink_t;
848 typedef long __kernel_off_t;   848 typedef long __kernel_off_t;
849 typedef int __kernel_pid_t;   849 typedef int __kernel_pid_t;
850 typedef unsigned short __kernel_ipc_pid_t;   850 typedef unsigned short __kernel_ipc_pid_t;
851 typedef unsigned short __kernel_uid_t;   851 typedef unsigned short __kernel_uid_t;
852 typedef unsigned short __kernel_gid_t;   852 typedef unsigned short __kernel_gid_t;
853 typedef unsigned int __kernel_size_t;   853 typedef unsigned int __kernel_size_t;
854 typedef int __kernel_ssize_t;   854 typedef int __kernel_ssize_t;
855 typedef int __kernel_ptrdiff_t;   855 typedef int __kernel_ptrdiff_t;
856 typedef long __kernel_time_t;   856 typedef long __kernel_time_t;
857 typedef long __kernel_suseconds_t;   857 typedef long __kernel_suseconds_t;
858 typedef long __kernel_clock_t;   858 typedef long __kernel_clock_t;
859 typedef int __kernel_timer_t;   859 typedef int __kernel_timer_t;
860 typedef int __kernel_clockid_t;   860 typedef int __kernel_clockid_t;
861 typedef int __kernel_daddr_t;   861 typedef int __kernel_daddr_t;
862 typedef char *__kernel_caddr_t;   862 typedef char *__kernel_caddr_t;
863 typedef unsigned short __kernel_uid16_t;   863 typedef unsigned short __kernel_uid16_t;
864 typedef unsigned short __kernel_gid16_t;   864 typedef unsigned short __kernel_gid16_t;
865 typedef unsigned int __kernel_uid32_t;   865 typedef unsigned int __kernel_uid32_t;
866 typedef unsigned int __kernel_gid32_t;   866 typedef unsigned int __kernel_gid32_t;
867 typedef unsigned short __kernel_old_uid_t;   867 typedef unsigned short __kernel_old_uid_t;
868 typedef unsigned short __kernel_old_gid_t;   868 typedef unsigned short __kernel_old_gid_t;
869 typedef unsigned short __kernel_old_dev_t;   869 typedef unsigned short __kernel_old_dev_t;
870 typedef long long __kernel_loff_t;   870 typedef long long __kernel_loff_t;
871 struct __anonstruct___kernel_fsid_t_49 {   871 struct __anonstruct___kernel_fsid_t_49 {
872    int val[2] ;   872    int val[2] ;
873 };   873 };
874 typedef struct __anonstruct___kernel_fsid_t_49 __kernel_fsid_t;   874 typedef struct __anonstruct___kernel_fsid_t_49 __kernel_fsid_t;
875 typedef __u16 __le16;   875 typedef __u16 __le16;
876 typedef __u16 __be16;   876 typedef __u16 __be16;
877 typedef __u32 __le32;   877 typedef __u32 __le32;
878 typedef __u32 __be32;   878 typedef __u32 __be32;
879 typedef __u64 __le64;   879 typedef __u64 __le64;
880 typedef __u64 __be64;   880 typedef __u64 __be64;
881 typedef __u16 __sum16;   881 typedef __u16 __sum16;
882 typedef __u32 __wsum;   882 typedef __u32 __wsum;
883 struct _fpx_sw_bytes {   883 struct _fpx_sw_bytes {
884    __u32 magic1 ;   884    __u32 magic1 ;
885    __u32 extended_size ;   885    __u32 extended_size ;
886    __u64 xstate_bv ;   886    __u64 xstate_bv ;
887    __u32 xstate_size ;   887    __u32 xstate_size ;
888    __u32 padding[7] ;   888    __u32 padding[7] ;
889 };   889 };
890 struct _fpreg {   890 struct _fpreg {
891    unsigned short significand[4] ;   891    unsigned short significand[4] ;
892    unsigned short exponent ;   892    unsigned short exponent ;
893 };   893 };
894 struct _fpxreg {   894 struct _fpxreg {
895    unsigned short significand[4] ;   895    unsigned short significand[4] ;
896    unsigned short exponent ;   896    unsigned short exponent ;
897    unsigned short padding[3] ;   897    unsigned short padding[3] ;
898 };   898 };
899 struct _xmmreg {   899 struct _xmmreg {
900    unsigned long element[4] ;   900    unsigned long element[4] ;
901 };   901 };
902 union __anonunion____missing_field_name_50 {   902 union __anonunion____missing_field_name_50 {
903    unsigned long padding2[12] ;   903    unsigned long padding2[12] ;
904    struct _fpx_sw_bytes sw_reserved ;   904    struct _fpx_sw_bytes sw_reserved ;
905 };   905 };
906 struct _fpstate {   906 struct _fpstate {
907    unsigned long cw ;   907    unsigned long cw ;
908    unsigned long sw ;   908    unsigned long sw ;
909    unsigned long tag ;   909    unsigned long tag ;
910    unsigned long ipoff ;   910    unsigned long ipoff ;
911    unsigned long cssel ;   911    unsigned long cssel ;
912    unsigned long dataoff ;   912    unsigned long dataoff ;
913    unsigned long datasel ;   913    unsigned long datasel ;
914    struct _fpreg _st[8] ;   914    struct _fpreg _st[8] ;
915    unsigned short status ;   915    unsigned short status ;
916    unsigned short magic ;   916    unsigned short magic ;
917    unsigned long _fxsr_env[6] ;   917    unsigned long _fxsr_env[6] ;
918    unsigned long mxcsr ;   918    unsigned long mxcsr ;
919    unsigned long reserved ;   919    unsigned long reserved ;
920    struct _fpxreg _fxsr_st[8] ;   920    struct _fpxreg _fxsr_st[8] ;
921    struct _xmmreg _xmm[8] ;   921    struct _xmmreg _xmm[8] ;
922    unsigned long padding1[44] ;   922    unsigned long padding1[44] ;
923    union __anonunion____missing_field_name_50 __annonCompField2 ;   923    union __anonunion____missing_field_name_50 __annonCompField2 ;
924 };   924 };
925 struct sigcontext {   925 struct sigcontext {
926    unsigned short gs ;   926    unsigned short gs ;
927    unsigned short __gsh ;   927    unsigned short __gsh ;
928    unsigned short fs ;   928    unsigned short fs ;
929    unsigned short __fsh ;   929    unsigned short __fsh ;
930    unsigned short es ;   930    unsigned short es ;
931    unsigned short __esh ;   931    unsigned short __esh ;
932    unsigned short ds ;   932    unsigned short ds ;
933    unsigned short __dsh ;   933    unsigned short __dsh ;
934    unsigned long edi ;   934    unsigned long edi ;
935    unsigned long esi ;   935    unsigned long esi ;
936    unsigned long ebp ;   936    unsigned long ebp ;
937    unsigned long esp ;   937    unsigned long esp ;
938    unsigned long ebx ;   938    unsigned long ebx ;
939    unsigned long edx ;   939    unsigned long edx ;
940    unsigned long ecx ;   940    unsigned long ecx ;
941    unsigned long eax ;   941    unsigned long eax ;
942    unsigned long trapno ;   942    unsigned long trapno ;
943    unsigned long err ;   943    unsigned long err ;
944    unsigned long eip ;   944    unsigned long eip ;
945    unsigned short cs ;   945    unsigned short cs ;
946    unsigned short __csh ;   946    unsigned short __csh ;
947    unsigned long eflags ;   947    unsigned long eflags ;
948    unsigned long esp_at_signal ;   948    unsigned long esp_at_signal ;
949    unsigned short ss ;   949    unsigned short ss ;
950    unsigned short __ssh ;   950    unsigned short __ssh ;
951    struct _fpstate *fpstate ;   951    struct _fpstate *fpstate ;
952    unsigned long oldmask ;   952    unsigned long oldmask ;
953    unsigned long cr2 ;   953    unsigned long cr2 ;
954 };   954 };
955 struct _xsave_hdr {   955 struct _xsave_hdr {
956    __u64 xstate_bv ;   956    __u64 xstate_bv ;
957    __u64 reserved1[2] ;   957    __u64 reserved1[2] ;
958    __u64 reserved2[5] ;   958    __u64 reserved2[5] ;
959 };   959 };
960 struct _ymmh_state {   960 struct _ymmh_state {
961    __u32 ymmh_space[64] ;   961    __u32 ymmh_space[64] ;
962 };   962 };
963 struct _xstate {   963 struct _xstate {
964    struct _fpstate fpstate ;   964    struct _fpstate fpstate ;
965    struct _xsave_hdr xstate_hdr ;   965    struct _xsave_hdr xstate_hdr ;
966    struct _ymmh_state ymmh ;   966    struct _ymmh_state ymmh ;
967 };   967 };
968 struct sigstack {   968 struct sigstack {
969    void *ss_sp ;   969    void *ss_sp ;
970    int ss_onstack ;   970    int ss_onstack ;
971 };   971 };
972 enum __anonenum_51 {   972 enum __anonenum_51 {
973     SS_ONSTACK = 1,   973     SS_ONSTACK = 1,
974     SS_DISABLE = 2   974     SS_DISABLE = 2
975 } ;   975 } ;
976 struct sigaltstack {   976 struct sigaltstack {
977    void *ss_sp ;   977    void *ss_sp ;
978    int ss_flags ;   978    int ss_flags ;
979    size_t ss_size ;   979    size_t ss_size ;
980 };   980 };
981 typedef struct sigaltstack stack_t;   981 typedef struct sigaltstack stack_t;
982 typedef int greg_t;   982 typedef int greg_t;
983 typedef greg_t gregset_t[19];   983 typedef greg_t gregset_t[19];
984 struct _libc_fpreg {   984 struct _libc_fpreg {
985    unsigned short significand[4] ;   985    unsigned short significand[4] ;
986    unsigned short exponent ;   986    unsigned short exponent ;
987 };   987 };
988 struct _libc_fpstate {   988 struct _libc_fpstate {
989    unsigned long cw ;   989    unsigned long cw ;
990    unsigned long sw ;   990    unsigned long sw ;
991    unsigned long tag ;   991    unsigned long tag ;
992    unsigned long ipoff ;   992    unsigned long ipoff ;
993    unsigned long cssel ;   993    unsigned long cssel ;
994    unsigned long dataoff ;   994    unsigned long dataoff ;
995    unsigned long datasel ;   995    unsigned long datasel ;
996    struct _libc_fpreg _st[8] ;   996    struct _libc_fpreg _st[8] ;
997    unsigned long status ;   997    unsigned long status ;
998 };   998 };
999 typedef struct _libc_fpstate *fpregset_t;   999 typedef struct _libc_fpstate *fpregset_t;
1000 struct __anonstruct_mcontext_t_52 {   1000 struct __anonstruct_mcontext_t_52 {
1001    gregset_t gregs ;   1001    gregset_t gregs ;
1002    fpregset_t fpregs ;   1002    fpregset_t fpregs ;
1003    unsigned long oldmask ;   1003    unsigned long oldmask ;
1004    unsigned long cr2 ;   1004    unsigned long cr2 ;
1005 };   1005 };
1006 typedef struct __anonstruct_mcontext_t_52 mcontext_t;   1006 typedef struct __anonstruct_mcontext_t_52 mcontext_t;
1007 struct ucontext {   1007 struct ucontext {
1008    unsigned long uc_flags ;   1008    unsigned long uc_flags ;
1009    struct ucontext *uc_link ;   1009    struct ucontext *uc_link ;
1010    stack_t uc_stack ;   1010    stack_t uc_stack ;
1011    mcontext_t uc_mcontext ;   1011    mcontext_t uc_mcontext ;
1012    __sigset_t uc_sigmask ;   1012    __sigset_t uc_sigmask ;
1013    struct _libc_fpstate __fpregs_mem ;   1013    struct _libc_fpstate __fpregs_mem ;
1014 };   1014 };
1015 typedef struct ucontext ucontext_t;   1015 typedef struct ucontext ucontext_t;
1016 typedef unsigned char cc_t;   1016 typedef unsigned char cc_t;
1017 typedef unsigned int speed_t;   1017 typedef unsigned int speed_t;
1018 typedef unsigned int tcflag_t;   1018 typedef unsigned int tcflag_t;
1019 struct termios {   1019 struct termios {
1020    tcflag_t c_iflag ;   1020    tcflag_t c_iflag ;
1021    tcflag_t c_oflag ;   1021    tcflag_t c_oflag ;
1022    tcflag_t c_cflag ;   1022    tcflag_t c_cflag ;
1023    tcflag_t c_lflag ;   1023    tcflag_t c_lflag ;
1024    cc_t c_line ;   1024    cc_t c_line ;
1025    cc_t c_cc[32] ;   1025    cc_t c_cc[32] ;
1026    speed_t c_ispeed ;   1026    speed_t c_ispeed ;
1027    speed_t c_ospeed ;   1027    speed_t c_ospeed ;
1028 };   1028 };
1029 struct dirent {   1029 struct dirent {
1030    __ino64_t d_ino ;   1030    __ino64_t d_ino ;
1031    __off64_t d_off ;   1031    __off64_t d_off ;
1032    unsigned short d_reclen ;   1032    unsigned short d_reclen ;
1033    unsigned char d_type ;   1033    unsigned char d_type ;
1034    char d_name[256] ;   1034    char d_name[256] ;
1035 };   1035 };
1036 enum __anonenum_53 {   1036 enum __anonenum_53 {
1037     DT_UNKNOWN = 0,   1037     DT_UNKNOWN = 0,
1038     DT_FIFO = 1,   1038     DT_FIFO = 1,
1039     DT_CHR = 2,   1039     DT_CHR = 2,
1040     DT_DIR = 4,   1040     DT_DIR = 4,
1041     DT_BLK = 6,   1041     DT_BLK = 6,
1042     DT_REG = 8,   1042     DT_REG = 8,
1043     DT_LNK = 10,   1043     DT_LNK = 10,
1044     DT_SOCK = 12,   1044     DT_SOCK = 12,
1045     DT_WHT = 14   1045     DT_WHT = 14
1046 } ;   1046 } ;
1047 struct __dirstream;   1047 struct __dirstream;
1048 typedef struct __dirstream DIR;   1048 typedef struct __dirstream DIR;
1049 struct sched_param {   1049 struct sched_param {
1050    int __sched_priority ;   1050    int __sched_priority ;
1051 };   1051 };
1052 struct __sched_param {   1052 struct __sched_param {
1053    int __sched_priority ;   1053    int __sched_priority ;
1054 };   1054 };
1055 typedef unsigned long __cpu_mask;   1055 typedef unsigned long __cpu_mask;
1056 struct __anonstruct_cpu_set_t_54 {   1056 struct __anonstruct_cpu_set_t_54 {
1057    __cpu_mask __bits[1024U / (8U * sizeof(__cpu_mask ))] ;   1057    __cpu_mask __bits[1024U / (8U * sizeof(__cpu_mask ))] ;
1058 };   1058 };
1059 typedef struct __anonstruct_cpu_set_t_54 cpu_set_t;   1059 typedef struct __anonstruct_cpu_set_t_54 cpu_set_t;
1060 struct tm {   1060 struct tm {
1061    int tm_sec ;   1061    int tm_sec ;
1062    int tm_min ;   1062    int tm_min ;
1063    int tm_hour ;   1063    int tm_hour ;
1064    int tm_mday ;   1064    int tm_mday ;
1065    int tm_mon ;   1065    int tm_mon ;
1066    int tm_year ;   1066    int tm_year ;
1067    int tm_wday ;   1067    int tm_wday ;
1068    int tm_yday ;   1068    int tm_yday ;
1069    int tm_isdst ;   1069    int tm_isdst ;
1070    long tm_gmtoff ;   1070    long tm_gmtoff ;
1071    char const   *tm_zone ;   1071    char const   *tm_zone ;
1072 };   1072 };
1073 struct itimerspec {   1073 struct itimerspec {
1074    struct timespec it_interval ;   1074    struct timespec it_interval ;
1075    struct timespec it_value ;   1075    struct timespec it_value ;
1076 };   1076 };
1077 struct sigevent;   1077 struct sigevent;
1078 struct __locale_data;   1078 struct __locale_data;
1079 struct __locale_struct {   1079 struct __locale_struct {
1080    struct __locale_data *__locales[13] ;   1080    struct __locale_data *__locales[13] ;
1081    unsigned short const   *__ctype_b ;   1081    unsigned short const   *__ctype_b ;
1082    int const   *__ctype_tolower ;   1082    int const   *__ctype_tolower ;
1083    int const   *__ctype_toupper ;   1083    int const   *__ctype_toupper ;
1084    char const   *__names[13] ;   1084    char const   *__names[13] ;
1085 };   1085 };
1086 typedef struct __locale_struct *__locale_t;   1086 typedef struct __locale_struct *__locale_t;
1087 typedef __locale_t locale_t;   1087 typedef __locale_t locale_t;
1088 typedef int __jmp_buf[6];   1088 typedef int __jmp_buf[6];
1089 enum __anonenum_55 {   1089 enum __anonenum_55 {
1090     PTHREAD_CREATE_JOINABLE = 0,   1090     PTHREAD_CREATE_JOINABLE = 0,
1091     PTHREAD_CREATE_DETACHED = 1   1091     PTHREAD_CREATE_DETACHED = 1
1092 } ;   1092 } ;
1093 enum __anonenum_56 {   1093 enum __anonenum_56 {
1094     PTHREAD_MUTEX_TIMED_NP = 0,   1094     PTHREAD_MUTEX_TIMED_NP = 0,
1095     PTHREAD_MUTEX_RECURSIVE_NP = 1,   1095     PTHREAD_MUTEX_RECURSIVE_NP = 1,
1096     PTHREAD_MUTEX_ERRORCHECK_NP = 2,   1096     PTHREAD_MUTEX_ERRORCHECK_NP = 2,
1097     PTHREAD_MUTEX_ADAPTIVE_NP = 3,   1097     PTHREAD_MUTEX_ADAPTIVE_NP = 3,
1098     PTHREAD_MUTEX_NORMAL = 0,   1098     PTHREAD_MUTEX_NORMAL = 0,
1099     PTHREAD_MUTEX_RECURSIVE = 1,   1099     PTHREAD_MUTEX_RECURSIVE = 1,
1100     PTHREAD_MUTEX_ERRORCHECK = 2,   1100     PTHREAD_MUTEX_ERRORCHECK = 2,
1101     PTHREAD_MUTEX_DEFAULT = 0   1101     PTHREAD_MUTEX_DEFAULT = 0
1102 } ;   1102 } ;
1103 enum __anonenum_57 {   1103 enum __anonenum_57 {
1104     PTHREAD_MUTEX_STALLED = 0,   1104     PTHREAD_MUTEX_STALLED = 0,
1105     PTHREAD_MUTEX_STALLED_NP = 0,   1105     PTHREAD_MUTEX_STALLED_NP = 0,
1106     PTHREAD_MUTEX_ROBUST = 1,   1106     PTHREAD_MUTEX_ROBUST = 1,
1107     PTHREAD_MUTEX_ROBUST_NP = 1   1107     PTHREAD_MUTEX_ROBUST_NP = 1
1108 } ;   1108 } ;
1109 enum __anonenum_58 {   1109 enum __anonenum_58 {
1110     PTHREAD_RWLOCK_PREFER_READER_NP = 0,   1110     PTHREAD_RWLOCK_PREFER_READER_NP = 0,
1111     PTHREAD_RWLOCK_PREFER_WRITER_NP = 1,   1111     PTHREAD_RWLOCK_PREFER_WRITER_NP = 1,
1112     PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2,   1112     PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2,
1113     PTHREAD_RWLOCK_DEFAULT_NP = 0   1113     PTHREAD_RWLOCK_DEFAULT_NP = 0
1114 } ;   1114 } ;
1115 enum __anonenum_59 {   1115 enum __anonenum_59 {
1116     PTHREAD_INHERIT_SCHED = 0,   1116     PTHREAD_INHERIT_SCHED = 0,
1117     PTHREAD_EXPLICIT_SCHED = 1   1117     PTHREAD_EXPLICIT_SCHED = 1
1118 } ;   1118 } ;
1119 enum __anonenum_60 {   1119 enum __anonenum_60 {
1120     PTHREAD_SCOPE_SYSTEM = 0,   1120     PTHREAD_SCOPE_SYSTEM = 0,
1121     PTHREAD_SCOPE_PROCESS = 1   1121     PTHREAD_SCOPE_PROCESS = 1
1122 } ;   1122 } ;
1123 enum __anonenum_61 {   1123 enum __anonenum_61 {
1124     PTHREAD_PROCESS_PRIVATE = 0,   1124     PTHREAD_PROCESS_PRIVATE = 0,
1125     PTHREAD_PROCESS_SHARED = 1   1125     PTHREAD_PROCESS_SHARED = 1
1126 } ;   1126 } ;
1127 struct _pthread_cleanup_buffer {   1127 struct _pthread_cleanup_buffer {
1128    void (*__routine)(void * ) ;   1128    void (*__routine)(void * ) ;
1129    void *__arg ;   1129    void *__arg ;
1130    int __canceltype ;   1130    int __canceltype ;
1131    struct _pthread_cleanup_buffer *__prev ;   1131    struct _pthread_cleanup_buffer *__prev ;
1132 };   1132 };
1133 enum __anonenum_62 {   1133 enum __anonenum_62 {
1134     PTHREAD_CANCEL_ENABLE = 0,   1134     PTHREAD_CANCEL_ENABLE = 0,
1135     PTHREAD_CANCEL_DISABLE = 1   1135     PTHREAD_CANCEL_DISABLE = 1
1136 } ;   1136 } ;
1137 enum __anonenum_63 {   1137 enum __anonenum_63 {
1138     PTHREAD_CANCEL_DEFERRED = 0,   1138     PTHREAD_CANCEL_DEFERRED = 0,
1139     PTHREAD_CANCEL_ASYNCHRONOUS = 1   1139     PTHREAD_CANCEL_ASYNCHRONOUS = 1
1140 } ;   1140 } ;
1141 struct __anonstruct___cancel_jmp_buf_65 {   1141 struct __anonstruct___cancel_jmp_buf_65 {
1142    __jmp_buf __cancel_jmp_buf ;   1142    __jmp_buf __cancel_jmp_buf ;
1143    int __mask_was_saved ;   1143    int __mask_was_saved ;
1144 };   1144 };
1145 struct __anonstruct___pthread_unwind_buf_t_64 {   1145 struct __anonstruct___pthread_unwind_buf_t_64 {
1146    struct __anonstruct___cancel_jmp_buf_65 __cancel_jmp_buf[1] ;   1146    struct __anonstruct___cancel_jmp_buf_65 __cancel_jmp_buf[1] ;
1147    void *__pad[4] ;   1147    void *__pad[4] ;
1148 };   1148 };
1149 typedef struct __anonstruct___pthread_unwind_buf_t_64  __attribute__((__aligned__)) __pthread_unwind_buf_t;   1149 typedef struct __anonstruct___pthread_unwind_buf_t_64  __attribute__((__aligned__)) __pthread_unwind_buf_t;
1150 struct __pthread_cleanup_frame {   1150 struct __pthread_cleanup_frame {
1151    void (*__cancel_routine)(void * ) ;   1151    void (*__cancel_routine)(void * ) ;
1152    void *__cancel_arg ;   1152    void *__cancel_arg ;
1153    int __do_it ;   1153    int __do_it ;
1154    int __cancel_type ;   1154    int __cancel_type ;
1155 };   1155 };
1156 struct __jmp_buf_tag;   1156 struct __jmp_buf_tag;
1157 struct __jmp_buf_tag;   1157 struct __jmp_buf_tag;
1158 typedef unsigned long XID;   1158 typedef unsigned long XID;
1159 typedef unsigned long Mask;   1159 typedef unsigned long Mask;
1160 typedef unsigned long Atom;   1160 typedef unsigned long Atom;
1161 typedef unsigned long VisualID;   1161 typedef unsigned long VisualID;
1162 typedef unsigned long Time;   1162 typedef unsigned long Time;
1163 typedef XID Window;   1163 typedef XID Window;
1164 typedef XID Drawable;   1164 typedef XID Drawable;
1165 typedef XID Font;   1165 typedef XID Font;
1166 typedef XID Pixmap;   1166 typedef XID Pixmap;
1167 typedef XID Cursor;   1167 typedef XID Cursor;
1168 typedef XID Colormap;   1168 typedef XID Colormap;
1169 typedef XID GContext;   1169 typedef XID GContext;
1170 typedef XID KeySym;   1170 typedef XID KeySym;
1171 typedef unsigned char KeyCode;   1171 typedef unsigned char KeyCode;
1172 typedef int ptrdiff_t;   1172 typedef int ptrdiff_t;
1173 typedef char *XPointer;   1173 typedef char *XPointer;
1174 struct _XExtData {   1174 struct _XExtData {
1175    int number ;   1175    int number ;
1176    struct _XExtData *next ;   1176    struct _XExtData *next ;
1177    int (*free_private)(struct _XExtData *extension ) ;   1177    int (*free_private)(struct _XExtData *extension ) ;
1178    XPointer private_data ;   1178    XPointer private_data ;
1179 };   1179 };
1180 typedef struct _XExtData XExtData;   1180 typedef struct _XExtData XExtData;
1181 struct __anonstruct_XExtCodes_66 {   1181 struct __anonstruct_XExtCodes_66 {
1182    int extension ;   1182    int extension ;
1183    int major_opcode ;   1183    int major_opcode ;
1184    int first_event ;   1184    int first_event ;
1185    int first_error ;   1185    int first_error ;
1186 };   1186 };
1187 typedef struct __anonstruct_XExtCodes_66 XExtCodes;   1187 typedef struct __anonstruct_XExtCodes_66 XExtCodes;
1188 struct __anonstruct_XPixmapFormatValues_67 {   1188 struct __anonstruct_XPixmapFormatValues_67 {
1189    int depth ;   1189    int depth ;
1190    int bits_per_pixel ;   1190    int bits_per_pixel ;
1191    int scanline_pad ;   1191    int scanline_pad ;
1192 };   1192 };
1193 typedef struct __anonstruct_XPixmapFormatValues_67 XPixmapFormatValues;   1193 typedef struct __anonstruct_XPixmapFormatValues_67 XPixmapFormatValues;
1194 struct __anonstruct_XGCValues_68 {   1194 struct __anonstruct_XGCValues_68 {
1195    int function ;   1195    int function ;
1196    unsigned long plane_mask ;   1196    unsigned long plane_mask ;
1197    unsigned long foreground ;   1197    unsigned long foreground ;
1198    unsigned long background ;   1198    unsigned long background ;
1199    int line_width ;   1199    int line_width ;
1200    int line_style ;   1200    int line_style ;
1201    int cap_style ;   1201    int cap_style ;
1202    int join_style ;   1202    int join_style ;
1203    int fill_style ;   1203    int fill_style ;
1204    int fill_rule ;   1204    int fill_rule ;
1205    int arc_mode ;   1205    int arc_mode ;
1206    Pixmap tile ;   1206    Pixmap tile ;
1207    Pixmap stipple ;   1207    Pixmap stipple ;
1208    int ts_x_origin ;   1208    int ts_x_origin ;
1209    int ts_y_origin ;   1209    int ts_y_origin ;
1210    Font font ;   1210    Font font ;
1211    int subwindow_mode ;   1211    int subwindow_mode ;
1212    int graphics_exposures ;   1212    int graphics_exposures ;
1213    int clip_x_origin ;   1213    int clip_x_origin ;
1214    int clip_y_origin ;   1214    int clip_y_origin ;
1215    Pixmap clip_mask ;   1215    Pixmap clip_mask ;
1216    int dash_offset ;   1216    int dash_offset ;
1217    char dashes ;   1217    char dashes ;
1218 };   1218 };
1219 typedef struct __anonstruct_XGCValues_68 XGCValues;   1219 typedef struct __anonstruct_XGCValues_68 XGCValues;
1220 struct _XGC;   1220 struct _XGC;
1221 typedef struct _XGC *GC;   1221 typedef struct _XGC *GC;
1222 struct __anonstruct_Visual_69 {   1222 struct __anonstruct_Visual_69 {
1223    XExtData *ext_data ;   1223    XExtData *ext_data ;
1224    VisualID visualid ;   1224    VisualID visualid ;
1225    int class ;   1225    int class ;
1226    unsigned long red_mask ;   1226    unsigned long red_mask ;
1227    unsigned long green_mask ;   1227    unsigned long green_mask ;
1228    unsigned long blue_mask ;   1228    unsigned long blue_mask ;
1229    int bits_per_rgb ;   1229    int bits_per_rgb ;
1230    int map_entries ;   1230    int map_entries ;
1231 };   1231 };
1232 typedef struct __anonstruct_Visual_69 Visual;   1232 typedef struct __anonstruct_Visual_69 Visual;
1233 struct __anonstruct_Depth_70 {   1233 struct __anonstruct_Depth_70 {
1234    int depth ;   1234    int depth ;
1235    int nvisuals ;   1235    int nvisuals ;
1236    Visual *visuals ;   1236    Visual *visuals ;
1237 };   1237 };
1238 typedef struct __anonstruct_Depth_70 Depth;   1238 typedef struct __anonstruct_Depth_70 Depth;
1239 struct _XDisplay;   1239 struct _XDisplay;
1240 struct _XDisplay;   1240 struct _XDisplay;
1241 struct __anonstruct_Screen_71 {   1241 struct __anonstruct_Screen_71 {
1242    XExtData *ext_data ;   1242    XExtData *ext_data ;
1243    struct _XDisplay *display ;   1243    struct _XDisplay *display ;
1244    Window root ;   1244    Window root ;
1245    int width ;   1245    int width ;
1246    int height ;   1246    int height ;
1247    int mwidth ;   1247    int mwidth ;
1248    int mheight ;   1248    int mheight ;
1249    int ndepths ;   1249    int ndepths ;
1250    Depth *depths ;   1250    Depth *depths ;
1251    int root_depth ;   1251    int root_depth ;
1252    Visual *root_visual ;   1252    Visual *root_visual ;
1253    GC default_gc ;   1253    GC default_gc ;
1254    Colormap cmap ;   1254    Colormap cmap ;
1255    unsigned long white_pixel ;   1255    unsigned long white_pixel ;
1256    unsigned long black_pixel ;   1256    unsigned long black_pixel ;
1257    int max_maps ;   1257    int max_maps ;
1258    int min_maps ;   1258    int min_maps ;
1259    int backing_store ;   1259    int backing_store ;
1260    int save_unders ;   1260    int save_unders ;
1261    long root_input_mask ;   1261    long root_input_mask ;
1262 };   1262 };
1263 typedef struct __anonstruct_Screen_71 Screen;   1263 typedef struct __anonstruct_Screen_71 Screen;
1264 struct __anonstruct_ScreenFormat_72 {   1264 struct __anonstruct_ScreenFormat_72 {
1265    XExtData *ext_data ;   1265    XExtData *ext_data ;
1266    int depth ;   1266    int depth ;
1267    int bits_per_pixel ;   1267    int bits_per_pixel ;
1268    int scanline_pad ;   1268    int scanline_pad ;
1269 };   1269 };
1270 typedef struct __anonstruct_ScreenFormat_72 ScreenFormat;   1270 typedef struct __anonstruct_ScreenFormat_72 ScreenFormat;
1271 struct __anonstruct_XSetWindowAttributes_73 {   1271 struct __anonstruct_XSetWindowAttributes_73 {
1272    Pixmap background_pixmap ;   1272    Pixmap background_pixmap ;
1273    unsigned long background_pixel ;   1273    unsigned long background_pixel ;
1274    Pixmap border_pixmap ;   1274    Pixmap border_pixmap ;
1275    unsigned long border_pixel ;   1275    unsigned long border_pixel ;
1276    int bit_gravity ;   1276    int bit_gravity ;
1277    int win_gravity ;   1277    int win_gravity ;
1278    int backing_store ;   1278    int backing_store ;
1279    unsigned long backing_planes ;   1279    unsigned long backing_planes ;
1280    unsigned long backing_pixel ;   1280    unsigned long backing_pixel ;
1281    int save_under ;   1281    int save_under ;
1282    long event_mask ;   1282    long event_mask ;
1283    long do_not_propagate_mask ;   1283    long do_not_propagate_mask ;
1284    int override_redirect ;   1284    int override_redirect ;
1285    Colormap colormap ;   1285    Colormap colormap ;
1286    Cursor cursor ;   1286    Cursor cursor ;
1287 };   1287 };
1288 typedef struct __anonstruct_XSetWindowAttributes_73 XSetWindowAttributes;   1288 typedef struct __anonstruct_XSetWindowAttributes_73 XSetWindowAttributes;
1289 struct __anonstruct_XWindowAttributes_74 {   1289 struct __anonstruct_XWindowAttributes_74 {
1290    int x ;   1290    int x ;
1291    int y ;   1291    int y ;
1292    int width ;   1292    int width ;
1293    int height ;   1293    int height ;
1294    int border_width ;   1294    int border_width ;
1295    int depth ;   1295    int depth ;
1296    Visual *visual ;   1296    Visual *visual ;
1297    Window root ;   1297    Window root ;
1298    int class ;   1298    int class ;
1299    int bit_gravity ;   1299    int bit_gravity ;
1300    int win_gravity ;   1300    int win_gravity ;
1301    int backing_store ;   1301    int backing_store ;
1302    unsigned long backing_planes ;   1302    unsigned long backing_planes ;
1303    unsigned long backing_pixel ;   1303    unsigned long backing_pixel ;
1304    int save_under ;   1304    int save_under ;
1305    Colormap colormap ;   1305    Colormap colormap ;
1306    int map_installed ;   1306    int map_installed ;
1307    int map_state ;   1307    int map_state ;
1308    long all_event_masks ;   1308    long all_event_masks ;
1309    long your_event_mask ;   1309    long your_event_mask ;
1310    long do_not_propagate_mask ;   1310    long do_not_propagate_mask ;
1311    int override_redirect ;   1311    int override_redirect ;
1312    Screen *screen ;   1312    Screen *screen ;
1313 };   1313 };
1314 typedef struct __anonstruct_XWindowAttributes_74 XWindowAttributes;   1314 typedef struct __anonstruct_XWindowAttributes_74 XWindowAttributes;
1315 struct __anonstruct_XHostAddress_75 {   1315 struct __anonstruct_XHostAddress_75 {
1316    int family ;   1316    int family ;
1317    int length ;   1317    int length ;
1318    char *address ;   1318    char *address ;
1319 };   1319 };
1320 typedef struct __anonstruct_XHostAddress_75 XHostAddress;   1320 typedef struct __anonstruct_XHostAddress_75 XHostAddress;
1321 struct __anonstruct_XServerInterpretedAddress_76 {   1321 struct __anonstruct_XServerInterpretedAddress_76 {
1322    int typelength ;   1322    int typelength ;
1323    int valuelength ;   1323    int valuelength ;
1324    char *type ;   1324    char *type ;
1325    char *value ;   1325    char *value ;
1326 };   1326 };
1327 typedef struct __anonstruct_XServerInterpretedAddress_76 XServerInterpretedAddress;   1327 typedef struct __anonstruct_XServerInterpretedAddress_76 XServerInterpretedAddress;
1328 struct funcs {   1328 struct funcs {
1329    struct _XImage *(*create_image)(struct _XDisplay * , Visual * ,   1329    struct _XImage *(*create_image)(struct _XDisplay * , Visual * ,
1330                                    unsigned int  , int  , int  , char * ,   1330                                    unsigned int  , int  , int  , char * ,
1331                                    unsigned int  , unsigned int  , int  , int  ) ;   1331                                    unsigned int  , unsigned int  , int  , int  ) ;
1332    int (*destroy_image)(struct _XImage * ) ;   1332    int (*destroy_image)(struct _XImage * ) ;
1333    unsigned long (*get_pixel)(struct _XImage * , int  , int  ) ;   1333    unsigned long (*get_pixel)(struct _XImage * , int  , int  ) ;
1334    int (*put_pixel)(struct _XImage * , int  , int  , unsigned long  ) ;   1334    int (*put_pixel)(struct _XImage * , int  , int  , unsigned long  ) ;
1335    struct _XImage *(*sub_image)(struct _XImage * , int  , int  , unsigned int  ,   1335    struct _XImage *(*sub_image)(struct _XImage * , int  , int  , unsigned int  ,
1336                                 unsigned int  ) ;   1336                                 unsigned int  ) ;
1337    int (*add_pixel)(struct _XImage * , long  ) ;   1337    int (*add_pixel)(struct _XImage * , long  ) ;
1338 };   1338 };
1339 struct _XImage {   1339 struct _XImage {
1340    int width ;   1340    int width ;
1341    int height ;   1341    int height ;
1342    int xoffset ;   1342    int xoffset ;
1343    int format ;   1343    int format ;
1344    char *data ;   1344    char *data ;
1345    int byte_order ;   1345    int byte_order ;
1346    int bitmap_unit ;   1346    int bitmap_unit ;
1347    int bitmap_bit_order ;   1347    int bitmap_bit_order ;
1348    int bitmap_pad ;   1348    int bitmap_pad ;
1349    int depth ;   1349    int depth ;
1350    int bytes_per_line ;   1350    int bytes_per_line ;
1351    int bits_per_pixel ;   1351    int bits_per_pixel ;
1352    unsigned long red_mask ;   1352    unsigned long red_mask ;
1353    unsigned long green_mask ;   1353    unsigned long green_mask ;
1354    unsigned long blue_mask ;   1354    unsigned long blue_mask ;
1355    XPointer obdata ;   1355    XPointer obdata ;
1356    struct funcs f ;   1356    struct funcs f ;
1357 };   1357 };
1358 typedef struct _XImage XImage;   1358 typedef struct _XImage XImage;
1359 struct __anonstruct_XWindowChanges_77 {   1359 struct __anonstruct_XWindowChanges_77 {
1360    int x ;   1360    int x ;
1361    int y ;   1361    int y ;
1362    int width ;   1362    int width ;
1363    int height ;   1363    int height ;
1364    int border_width ;   1364    int border_width ;
1365    Window sibling ;   1365    Window sibling ;
1366    int stack_mode ;   1366    int stack_mode ;
1367 };   1367 };
1368 typedef struct __anonstruct_XWindowChanges_77 XWindowChanges;   1368 typedef struct __anonstruct_XWindowChanges_77 XWindowChanges;
1369 struct __anonstruct_XColor_78 {   1369 struct __anonstruct_XColor_78 {
1370    unsigned long pixel ;   1370    unsigned long pixel ;
1371    unsigned short red ;   1371    unsigned short red ;
1372    unsigned short green ;   1372    unsigned short green ;
1373    unsigned short blue ;   1373    unsigned short blue ;
1374    char flags ;   1374    char flags ;
1375    char pad ;   1375    char pad ;
1376 };   1376 };
1377 typedef struct __anonstruct_XColor_78 XColor;   1377 typedef struct __anonstruct_XColor_78 XColor;
1378 struct __anonstruct_XSegment_79 {   1378 struct __anonstruct_XSegment_79 {
1379    short x1 ;   1379    short x1 ;
1380    short y1 ;   1380    short y1 ;
1381    short x2 ;   1381    short x2 ;
1382    short y2 ;   1382    short y2 ;
1383 };   1383 };
1384 typedef struct __anonstruct_XSegment_79 XSegment;   1384 typedef struct __anonstruct_XSegment_79 XSegment;
1385 struct __anonstruct_XPoint_80 {   1385 struct __anonstruct_XPoint_80 {
1386    short x ;   1386    short x ;
1387    short y ;   1387    short y ;
1388 };   1388 };
1389 typedef struct __anonstruct_XPoint_80 XPoint;   1389 typedef struct __anonstruct_XPoint_80 XPoint;
1390 struct __anonstruct_XRectangle_81 {   1390 struct __anonstruct_XRectangle_81 {
1391    short x ;   1391    short x ;
1392    short y ;   1392    short y ;
1393    unsigned short width ;   1393    unsigned short width ;
1394    unsigned short height ;   1394    unsigned short height ;
1395 };   1395 };
1396 typedef struct __anonstruct_XRectangle_81 XRectangle;   1396 typedef struct __anonstruct_XRectangle_81 XRectangle;
1397 struct __anonstruct_XArc_82 {   1397 struct __anonstruct_XArc_82 {
1398    short x ;   1398    short x ;
1399    short y ;   1399    short y ;
1400    unsigned short width ;   1400    unsigned short width ;
1401    unsigned short height ;   1401    unsigned short height ;
1402    short angle1 ;   1402    short angle1 ;
1403    short angle2 ;   1403    short angle2 ;
1404 };   1404 };
1405 typedef struct __anonstruct_XArc_82 XArc;   1405 typedef struct __anonstruct_XArc_82 XArc;
1406 struct __anonstruct_XKeyboardControl_83 {   1406 struct __anonstruct_XKeyboardControl_83 {
1407    int key_click_percent ;   1407    int key_click_percent ;
1408    int bell_percent ;   1408    int bell_percent ;
1409    int bell_pitch ;   1409    int bell_pitch ;
1410    int bell_duration ;   1410    int bell_duration ;
1411    int led ;   1411    int led ;
1412    int led_mode ;   1412    int led_mode ;
1413    int key ;   1413    int key ;
1414    int auto_repeat_mode ;   1414    int auto_repeat_mode ;
1415 };   1415 };
1416 typedef struct __anonstruct_XKeyboardControl_83 XKeyboardControl;   1416 typedef struct __anonstruct_XKeyboardControl_83 XKeyboardControl;
1417 struct __anonstruct_XKeyboardState_84 {   1417 struct __anonstruct_XKeyboardState_84 {
1418    int key_click_percent ;   1418    int key_click_percent ;
1419    int bell_percent ;   1419    int bell_percent ;
1420    unsigned int bell_pitch ;   1420    unsigned int bell_pitch ;
1421    unsigned int bell_duration ;   1421    unsigned int bell_duration ;
1422    unsigned long led_mask ;   1422    unsigned long led_mask ;
1423    int global_auto_repeat ;   1423    int global_auto_repeat ;
1424    char auto_repeats[32] ;   1424    char auto_repeats[32] ;
1425 };   1425 };
1426 typedef struct __anonstruct_XKeyboardState_84 XKeyboardState;   1426 typedef struct __anonstruct_XKeyboardState_84 XKeyboardState;
1427 struct __anonstruct_XTimeCoord_85 {   1427 struct __anonstruct_XTimeCoord_85 {
1428    Time time ;   1428    Time time ;
1429    short x ;   1429    short x ;
1430    short y ;   1430    short y ;
1431 };   1431 };
1432 typedef struct __anonstruct_XTimeCoord_85 XTimeCoord;   1432 typedef struct __anonstruct_XTimeCoord_85 XTimeCoord;
1433 struct __anonstruct_XModifierKeymap_86 {   1433 struct __anonstruct_XModifierKeymap_86 {
1434    int max_keypermod ;   1434    int max_keypermod ;
1435    KeyCode *modifiermap ;   1435    KeyCode *modifiermap ;
1436 };   1436 };
1437 typedef struct __anonstruct_XModifierKeymap_86 XModifierKeymap;   1437 typedef struct __anonstruct_XModifierKeymap_86 XModifierKeymap;
1438 typedef struct _XDisplay Display;   1438 typedef struct _XDisplay Display;
1439 struct _XPrivate;   1439 struct _XPrivate;
1440 struct _XPrivate;   1440 struct _XPrivate;
1441 struct _XrmHashBucketRec;   1441 struct _XrmHashBucketRec;
1442 struct _XrmHashBucketRec;   1442 struct _XrmHashBucketRec;
1443 struct __anonstruct__XPrivDisplay_87 {   1443 struct __anonstruct__XPrivDisplay_87 {
1444    XExtData *ext_data ;   1444    XExtData *ext_data ;
1445    struct _XPrivate *private1 ;   1445    struct _XPrivate *private1 ;
1446    int fd ;   1446    int fd ;
1447    int private2 ;   1447    int private2 ;
1448    int proto_major_version ;   1448    int proto_major_version ;
1449    int proto_minor_version ;   1449    int proto_minor_version ;
1450    char *vendor ;   1450    char *vendor ;
1451    XID private3 ;   1451    XID private3 ;
1452    XID private4 ;   1452    XID private4 ;
1453    XID private5 ;   1453    XID private5 ;
1454    int private6 ;   1454    int private6 ;
1455    XID (*resource_alloc)(struct _XDisplay * ) ;   1455    XID (*resource_alloc)(struct _XDisplay * ) ;
1456    int byte_order ;   1456    int byte_order ;
1457    int bitmap_unit ;   1457    int bitmap_unit ;
1458    int bitmap_pad ;   1458    int bitmap_pad ;
1459    int bitmap_bit_order ;   1459    int bitmap_bit_order ;
1460    int nformats ;   1460    int nformats ;
1461    ScreenFormat *pixmap_format ;   1461    ScreenFormat *pixmap_format ;
1462    int private8 ;   1462    int private8 ;
1463    int release ;   1463    int release ;
1464    struct _XPrivate *private9 ;   1464    struct _XPrivate *private9 ;
1465    struct _XPrivate *private10 ;   1465    struct _XPrivate *private10 ;
1466    int qlen ;   1466    int qlen ;
1467    unsigned long last_request_read ;   1467    unsigned long last_request_read ;
1468    unsigned long request ;   1468    unsigned long request ;
1469    XPointer private11 ;   1469    XPointer private11 ;
1470    XPointer private12 ;   1470    XPointer private12 ;
1471    XPointer private13 ;   1471    XPointer private13 ;
1472    XPointer private14 ;   1472    XPointer private14 ;
1473    unsigned int max_request_size ;   1473    unsigned int max_request_size ;
1474    struct _XrmHashBucketRec *db ;   1474    struct _XrmHashBucketRec *db ;
1475    int (*private15)(struct _XDisplay * ) ;   1475    int (*private15)(struct _XDisplay * ) ;
1476    char *display_name ;   1476    char *display_name ;
1477    int default_screen ;   1477    int default_screen ;
1478    int nscreens ;   1478    int nscreens ;
1479    Screen *screens ;   1479    Screen *screens ;
1480    unsigned long motion_buffer ;   1480    unsigned long motion_buffer ;
1481    unsigned long private16 ;   1481    unsigned long private16 ;
1482    int min_keycode ;   1482    int min_keycode ;
1483    int max_keycode ;   1483    int max_keycode ;
1484    XPointer private17 ;   1484    XPointer private17 ;
1485    XPointer private18 ;   1485    XPointer private18 ;
1486    int private19 ;   1486    int private19 ;
1487    char *xdefaults ;   1487    char *xdefaults ;
1488 };   1488 };
1489 typedef struct __anonstruct__XPrivDisplay_87 *_XPrivDisplay;   1489 typedef struct __anonstruct__XPrivDisplay_87 *_XPrivDisplay;
1490 struct __anonstruct_XKeyEvent_88 {   1490 struct __anonstruct_XKeyEvent_88 {
1491    int type ;   1491    int type ;
1492    unsigned long serial ;   1492    unsigned long serial ;
1493    int send_event ;   1493    int send_event ;
1494    Display *display ;   1494    Display *display ;
1495    Window window ;   1495    Window window ;
1496    Window root ;   1496    Window root ;
1497    Window subwindow ;   1497    Window subwindow ;
1498    Time time ;   1498    Time time ;
1499    int x ;   1499    int x ;
1500    int y ;   1500    int y ;
1501    int x_root ;   1501    int x_root ;
1502    int y_root ;   1502    int y_root ;
1503    unsigned int state ;   1503    unsigned int state ;
1504    unsigned int keycode ;   1504    unsigned int keycode ;
1505    int same_screen ;   1505    int same_screen ;
1506 };   1506 };
1507 typedef struct __anonstruct_XKeyEvent_88 XKeyEvent;   1507 typedef struct __anonstruct_XKeyEvent_88 XKeyEvent;
1508 typedef XKeyEvent XKeyPressedEvent;   1508 typedef XKeyEvent XKeyPressedEvent;
1509 typedef XKeyEvent XKeyReleasedEvent;   1509 typedef XKeyEvent XKeyReleasedEvent;
1510 struct __anonstruct_XButtonEvent_89 {   1510 struct __anonstruct_XButtonEvent_89 {
1511    int type ;   1511    int type ;
1512    unsigned long serial ;   1512    unsigned long serial ;
1513    int send_event ;   1513    int send_event ;
1514    Display *display ;   1514    Display *display ;
1515    Window window ;   1515    Window window ;
1516    Window root ;   1516    Window root ;
1517    Window subwindow ;   1517    Window subwindow ;
1518    Time time ;   1518    Time time ;
1519    int x ;   1519    int x ;
1520    int y ;   1520    int y ;
1521    int x_root ;   1521    int x_root ;
1522    int y_root ;   1522    int y_root ;
1523    unsigned int state ;   1523    unsigned int state ;
1524    unsigned int button ;   1524    unsigned int button ;
1525    int same_screen ;   1525    int same_screen ;
1526 };   1526 };
1527 typedef struct __anonstruct_XButtonEvent_89 XButtonEvent;   1527 typedef struct __anonstruct_XButtonEvent_89 XButtonEvent;
1528 typedef XButtonEvent XButtonPressedEvent;   1528 typedef XButtonEvent XButtonPressedEvent;
1529 typedef XButtonEvent XButtonReleasedEvent;   1529 typedef XButtonEvent XButtonReleasedEvent;
1530 struct __anonstruct_XMotionEvent_90 {   1530 struct __anonstruct_XMotionEvent_90 {
1531    int type ;   1531    int type ;
1532    unsigned long serial ;   1532    unsigned long serial ;
1533    int send_event ;   1533    int send_event ;
1534    Display *display ;   1534    Display *display ;
1535    Window window ;   1535    Window window ;
1536    Window root ;   1536    Window root ;
1537    Window subwindow ;   1537    Window subwindow ;
1538    Time time ;   1538    Time time ;
1539    int x ;   1539    int x ;
1540    int y ;   1540    int y ;
1541    int x_root ;   1541    int x_root ;
1542    int y_root ;   1542    int y_root ;
1543    unsigned int state ;   1543    unsigned int state ;
1544    char is_hint ;   1544    char is_hint ;
1545    int same_screen ;   1545    int same_screen ;
1546 };   1546 };
1547 typedef struct __anonstruct_XMotionEvent_90 XMotionEvent;   1547 typedef struct __anonstruct_XMotionEvent_90 XMotionEvent;
1548 typedef XMotionEvent XPointerMovedEvent;   1548 typedef XMotionEvent XPointerMovedEvent;
1549 struct __anonstruct_XCrossingEvent_91 {   1549 struct __anonstruct_XCrossingEvent_91 {
1550    int type ;   1550    int type ;
1551    unsigned long serial ;   1551    unsigned long serial ;
1552    int send_event ;   1552    int send_event ;
1553    Display *display ;   1553    Display *display ;
1554    Window window ;   1554    Window window ;
1555    Window root ;   1555    Window root ;
1556    Window subwindow ;   1556    Window subwindow ;
1557    Time time ;   1557    Time time ;
1558    int x ;   1558    int x ;
1559    int y ;   1559    int y ;
1560    int x_root ;   1560    int x_root ;
1561    int y_root ;   1561    int y_root ;
1562    int mode ;   1562    int mode ;
1563    int detail ;   1563    int detail ;
1564    int same_screen ;   1564    int same_screen ;
1565    int focus ;   1565    int focus ;
1566    unsigned int state ;   1566    unsigned int state ;
1567 };   1567 };
1568 typedef struct __anonstruct_XCrossingEvent_91 XCrossingEvent;   1568 typedef struct __anonstruct_XCrossingEvent_91 XCrossingEvent;
1569 typedef XCrossingEvent XEnterWindowEvent;   1569 typedef XCrossingEvent XEnterWindowEvent;
1570 typedef XCrossingEvent XLeaveWindowEvent;   1570 typedef XCrossingEvent XLeaveWindowEvent;
1571 struct __anonstruct_XFocusChangeEvent_92 {   1571 struct __anonstruct_XFocusChangeEvent_92 {
1572    int type ;   1572    int type ;
1573    unsigned long serial ;   1573    unsigned long serial ;
1574    int send_event ;   1574    int send_event ;
1575    Display *display ;   1575    Display *display ;
1576    Window window ;   1576    Window window ;
1577    int mode ;   1577    int mode ;
1578    int detail ;   1578    int detail ;
1579 };   1579 };
1580 typedef struct __anonstruct_XFocusChangeEvent_92 XFocusChangeEvent;   1580 typedef struct __anonstruct_XFocusChangeEvent_92 XFocusChangeEvent;
1581 typedef XFocusChangeEvent XFocusInEvent;   1581 typedef XFocusChangeEvent XFocusInEvent;
1582 typedef XFocusChangeEvent XFocusOutEvent;   1582 typedef XFocusChangeEvent XFocusOutEvent;
1583 struct __anonstruct_XKeymapEvent_93 {   1583 struct __anonstruct_XKeymapEvent_93 {
1584    int type ;   1584    int type ;
1585    unsigned long serial ;   1585    unsigned long serial ;
1586    int send_event ;   1586    int send_event ;
1587    Display *display ;   1587    Display *display ;
1588    Window window ;   1588    Window window ;
1589    char key_vector[32] ;   1589    char key_vector[32] ;
1590 };   1590 };
1591 typedef struct __anonstruct_XKeymapEvent_93 XKeymapEvent;   1591 typedef struct __anonstruct_XKeymapEvent_93 XKeymapEvent;
1592 struct __anonstruct_XExposeEvent_94 {   1592 struct __anonstruct_XExposeEvent_94 {
1593    int type ;   1593    int type ;
1594    unsigned long serial ;   1594    unsigned long serial ;
1595    int send_event ;   1595    int send_event ;
1596    Display *display ;   1596    Display *display ;
1597    Window window ;   1597    Window window ;
1598    int x ;   1598    int x ;
1599    int y ;   1599    int y ;
1600    int width ;   1600    int width ;
1601    int height ;   1601    int height ;
1602    int count ;   1602    int count ;
1603 };   1603 };
1604 typedef struct __anonstruct_XExposeEvent_94 XExposeEvent;   1604 typedef struct __anonstruct_XExposeEvent_94 XExposeEvent;
1605 struct __anonstruct_XGraphicsExposeEvent_95 {   1605 struct __anonstruct_XGraphicsExposeEvent_95 {
1606    int type ;   1606    int type ;
1607    unsigned long serial ;   1607    unsigned long serial ;
1608    int send_event ;   1608    int send_event ;
1609    Display *display ;   1609    Display *display ;
1610    Drawable drawable ;   1610    Drawable drawable ;
1611    int x ;   1611    int x ;
1612    int y ;   1612    int y ;
1613    int width ;   1613    int width ;
1614    int height ;   1614    int height ;
1615    int count ;   1615    int count ;
1616    int major_code ;   1616    int major_code ;
1617    int minor_code ;   1617    int minor_code ;
1618 };   1618 };
1619 typedef struct __anonstruct_XGraphicsExposeEvent_95 XGraphicsExposeEvent;   1619 typedef struct __anonstruct_XGraphicsExposeEvent_95 XGraphicsExposeEvent;
1620 struct __anonstruct_XNoExposeEvent_96 {   1620 struct __anonstruct_XNoExposeEvent_96 {
1621    int type ;   1621    int type ;
1622    unsigned long serial ;   1622    unsigned long serial ;
1623    int send_event ;   1623    int send_event ;
1624    Display *display ;   1624    Display *display ;
1625    Drawable drawable ;   1625    Drawable drawable ;
1626    int major_code ;   1626    int major_code ;
1627    int minor_code ;   1627    int minor_code ;
1628 };   1628 };
1629 typedef struct __anonstruct_XNoExposeEvent_96 XNoExposeEvent;   1629 typedef struct __anonstruct_XNoExposeEvent_96 XNoExposeEvent;
1630 struct __anonstruct_XVisibilityEvent_97 {   1630 struct __anonstruct_XVisibilityEvent_97 {
1631    int type ;   1631    int type ;
1632    unsigned long serial ;   1632    unsigned long serial ;
1633    int send_event ;   1633    int send_event ;
1634    Display *display ;   1634    Display *display ;
1635    Window window ;   1635    Window window ;
1636    int state ;   1636    int state ;
1637 };   1637 };
1638 typedef struct __anonstruct_XVisibilityEvent_97 XVisibilityEvent;   1638 typedef struct __anonstruct_XVisibilityEvent_97 XVisibilityEvent;
1639 struct __anonstruct_XCreateWindowEvent_98 {   1639 struct __anonstruct_XCreateWindowEvent_98 {
1640    int type ;   1640    int type ;
1641    unsigned long serial ;   1641    unsigned long serial ;
1642    int send_event ;   1642    int send_event ;
1643    Display *display ;   1643    Display *display ;
1644    Window parent ;   1644    Window parent ;
1645    Window window ;   1645    Window window ;
1646    int x ;   1646    int x ;
1647    int y ;   1647    int y ;
1648    int width ;   1648    int width ;
1649    int height ;   1649    int height ;
1650    int border_width ;   1650    int border_width ;
1651    int override_redirect ;   1651    int override_redirect ;
1652 };   1652 };
1653 typedef struct __anonstruct_XCreateWindowEvent_98 XCreateWindowEvent;   1653 typedef struct __anonstruct_XCreateWindowEvent_98 XCreateWindowEvent;
1654 struct __anonstruct_XDestroyWindowEvent_99 {   1654 struct __anonstruct_XDestroyWindowEvent_99 {
1655    int type ;   1655    int type ;
1656    unsigned long serial ;   1656    unsigned long serial ;
1657    int send_event ;   1657    int send_event ;
1658    Display *display ;   1658    Display *display ;
1659    Window event ;   1659    Window event ;
1660    Window window ;   1660    Window window ;
1661 };   1661 };
1662 typedef struct __anonstruct_XDestroyWindowEvent_99 XDestroyWindowEvent;   1662 typedef struct __anonstruct_XDestroyWindowEvent_99 XDestroyWindowEvent;
1663 struct __anonstruct_XUnmapEvent_100 {   1663 struct __anonstruct_XUnmapEvent_100 {
1664    int type ;   1664    int type ;
1665    unsigned long serial ;   1665    unsigned long serial ;
1666    int send_event ;   1666    int send_event ;
1667    Display *display ;   1667    Display *display ;
1668    Window event ;   1668    Window event ;
1669    Window window ;   1669    Window window ;
1670    int from_configure ;   1670    int from_configure ;
1671 };   1671 };
1672 typedef struct __anonstruct_XUnmapEvent_100 XUnmapEvent;   1672 typedef struct __anonstruct_XUnmapEvent_100 XUnmapEvent;
1673 struct __anonstruct_XMapEvent_101 {   1673 struct __anonstruct_XMapEvent_101 {
1674    int type ;   1674    int type ;
1675    unsigned long serial ;   1675    unsigned long serial ;
1676    int send_event ;   1676    int send_event ;
1677    Display *display ;   1677    Display *display ;
1678    Window event ;   1678    Window event ;
1679    Window window ;   1679    Window window ;
1680    int override_redirect ;   1680    int override_redirect ;
1681 };   1681 };
1682 typedef struct __anonstruct_XMapEvent_101 XMapEvent;   1682 typedef struct __anonstruct_XMapEvent_101 XMapEvent;
1683 struct __anonstruct_XMapRequestEvent_102 {   1683 struct __anonstruct_XMapRequestEvent_102 {
1684    int type ;   1684    int type ;
1685    unsigned long serial ;   1685    unsigned long serial ;
1686    int send_event ;   1686    int send_event ;
1687    Display *display ;   1687    Display *display ;
1688    Window parent ;   1688    Window parent ;
1689    Window window ;   1689    Window window ;
1690 };   1690 };
1691 typedef struct __anonstruct_XMapRequestEvent_102 XMapRequestEvent;   1691 typedef struct __anonstruct_XMapRequestEvent_102 XMapRequestEvent;
1692 struct __anonstruct_XReparentEvent_103 {   1692 struct __anonstruct_XReparentEvent_103 {
1693    int type ;   1693    int type ;
1694    unsigned long serial ;   1694    unsigned long serial ;
1695    int send_event ;   1695    int send_event ;
1696    Display *display ;   1696    Display *display ;
1697    Window event ;   1697    Window event ;
1698    Window window ;   1698    Window window ;
1699    Window parent ;   1699    Window parent ;
1700    int x ;   1700    int x ;
1701    int y ;   1701    int y ;
1702    int override_redirect ;   1702    int override_redirect ;
1703 };   1703 };
1704 typedef struct __anonstruct_XReparentEvent_103 XReparentEvent;   1704 typedef struct __anonstruct_XReparentEvent_103 XReparentEvent;
1705 struct __anonstruct_XConfigureEvent_104 {   1705 struct __anonstruct_XConfigureEvent_104 {
1706    int type ;   1706    int type ;
1707    unsigned long serial ;   1707    unsigned long serial ;
1708    int send_event ;   1708    int send_event ;
1709    Display *display ;   1709    Display *display ;
1710    Window event ;   1710    Window event ;
1711    Window window ;   1711    Window window ;
1712    int x ;   1712    int x ;
1713    int y ;   1713    int y ;
1714    int width ;   1714    int width ;
1715    int height ;   1715    int height ;
1716    int border_width ;   1716    int border_width ;
1717    Window above ;   1717    Window above ;
1718    int override_redirect ;   1718    int override_redirect ;
1719 };   1719 };
1720 typedef struct __anonstruct_XConfigureEvent_104 XConfigureEvent;   1720 typedef struct __anonstruct_XConfigureEvent_104 XConfigureEvent;
1721 struct __anonstruct_XGravityEvent_105 {   1721 struct __anonstruct_XGravityEvent_105 {
1722    int type ;   1722    int type ;
1723    unsigned long serial ;   1723    unsigned long serial ;
1724    int send_event ;   1724    int send_event ;
1725    Display *display ;   1725    Display *display ;
1726    Window event ;   1726    Window event ;
1727    Window window ;   1727    Window window ;
1728    int x ;   1728    int x ;
1729    int y ;   1729    int y ;
1730 };   1730 };
1731 typedef struct __anonstruct_XGravityEvent_105 XGravityEvent;   1731 typedef struct __anonstruct_XGravityEvent_105 XGravityEvent;
1732 struct __anonstruct_XResizeRequestEvent_106 {   1732 struct __anonstruct_XResizeRequestEvent_106 {
1733    int type ;   1733    int type ;
1734    unsigned long serial ;   1734    unsigned long serial ;
1735    int send_event ;   1735    int send_event ;
1736    Display *display ;   1736    Display *display ;
1737    Window window ;   1737    Window window ;
1738    int width ;   1738    int width ;
1739    int height ;   1739    int height ;
1740 };   1740 };
1741 typedef struct __anonstruct_XResizeRequestEvent_106 XResizeRequestEvent;   1741 typedef struct __anonstruct_XResizeRequestEvent_106 XResizeRequestEvent;
1742 struct __anonstruct_XConfigureRequestEvent_107 {   1742 struct __anonstruct_XConfigureRequestEvent_107 {
1743    int type ;   1743    int type ;
1744    unsigned long serial ;   1744    unsigned long serial ;
1745    int send_event ;   1745    int send_event ;
1746    Display *display ;   1746    Display *display ;
1747    Window parent ;   1747    Window parent ;
1748    Window window ;   1748    Window window ;
1749    int x ;   1749    int x ;
1750    int y ;   1750    int y ;
1751    int width ;   1751    int width ;
1752    int height ;   1752    int height ;
1753    int border_width ;   1753    int border_width ;
1754    Window above ;   1754    Window above ;
1755    int detail ;   1755    int detail ;
1756    unsigned long value_mask ;   1756    unsigned long value_mask ;
1757 };   1757 };
1758 typedef struct __anonstruct_XConfigureRequestEvent_107 XConfigureRequestEvent;   1758 typedef struct __anonstruct_XConfigureRequestEvent_107 XConfigureRequestEvent;
1759 struct __anonstruct_XCirculateEvent_108 {   1759 struct __anonstruct_XCirculateEvent_108 {
1760    int type ;   1760    int type ;
1761    unsigned long serial ;   1761    unsigned long serial ;
1762    int send_event ;   1762    int send_event ;
1763    Display *display ;   1763    Display *display ;
1764    Window event ;   1764    Window event ;
1765    Window window ;   1765    Window window ;
1766    int place ;   1766    int place ;
1767 };   1767 };
1768 typedef struct __anonstruct_XCirculateEvent_108 XCirculateEvent;   1768 typedef struct __anonstruct_XCirculateEvent_108 XCirculateEvent;
1769 struct __anonstruct_XCirculateRequestEvent_109 {   1769 struct __anonstruct_XCirculateRequestEvent_109 {
1770    int type ;   1770    int type ;
1771    unsigned long serial ;   1771    unsigned long serial ;
1772    int send_event ;   1772    int send_event ;
1773    Display *display ;   1773    Display *display ;
1774    Window parent ;   1774    Window parent ;
1775    Window window ;   1775    Window window ;
1776    int place ;   1776    int place ;
1777 };   1777 };
1778 typedef struct __anonstruct_XCirculateRequestEvent_109 XCirculateRequestEvent;   1778 typedef struct __anonstruct_XCirculateRequestEvent_109 XCirculateRequestEvent;
1779 struct __anonstruct_XPropertyEvent_110 {   1779 struct __anonstruct_XPropertyEvent_110 {
1780    int type ;   1780    int type ;
1781    unsigned long serial ;   1781    unsigned long serial ;
1782    int send_event ;   1782    int send_event ;
1783    Display *display ;   1783    Display *display ;
1784    Window window ;   1784    Window window ;
1785    Atom atom ;   1785    Atom atom ;
1786    Time time ;   1786    Time time ;
1787    int state ;   1787    int state ;
1788 };   1788 };
1789 typedef struct __anonstruct_XPropertyEvent_110 XPropertyEvent;   1789 typedef struct __anonstruct_XPropertyEvent_110 XPropertyEvent;
1790 struct __anonstruct_XSelectionClearEvent_111 {   1790 struct __anonstruct_XSelectionClearEvent_111 {
1791    int type ;   1791    int type ;
1792    unsigned long serial ;   1792    unsigned long serial ;
1793    int send_event ;   1793    int send_event ;
1794    Display *display ;   1794    Display *display ;
1795    Window window ;   1795    Window window ;
1796    Atom selection ;   1796    Atom selection ;
1797    Time time ;   1797    Time time ;
1798 };   1798 };
1799 typedef struct __anonstruct_XSelectionClearEvent_111 XSelectionClearEvent;   1799 typedef struct __anonstruct_XSelectionClearEvent_111 XSelectionClearEvent;
1800 struct __anonstruct_XSelectionRequestEvent_112 {   1800 struct __anonstruct_XSelectionRequestEvent_112 {
1801    int type ;   1801    int type ;
1802    unsigned long serial ;   1802    unsigned long serial ;
1803    int send_event ;   1803    int send_event ;
1804    Display *display ;   1804    Display *display ;
1805    Window owner ;   1805    Window owner ;
1806    Window requestor ;   1806    Window requestor ;
1807    Atom selection ;   1807    Atom selection ;
1808    Atom target ;   1808    Atom target ;
1809    Atom property ;   1809    Atom property ;
1810    Time time ;   1810    Time time ;
1811 };   1811 };
1812 typedef struct __anonstruct_XSelectionRequestEvent_112 XSelectionRequestEvent;   1812 typedef struct __anonstruct_XSelectionRequestEvent_112 XSelectionRequestEvent;
1813 struct __anonstruct_XSelectionEvent_113 {   1813 struct __anonstruct_XSelectionEvent_113 {
1814    int type ;   1814    int type ;
1815    unsigned long serial ;   1815    unsigned long serial ;
1816    int send_event ;   1816    int send_event ;
1817    Display *display ;   1817    Display *display ;
1818    Window requestor ;   1818    Window requestor ;
1819    Atom selection ;   1819    Atom selection ;
1820    Atom target ;   1820    Atom target ;
1821    Atom property ;   1821    Atom property ;
1822    Time time ;   1822    Time time ;
1823 };   1823 };
1824 typedef struct __anonstruct_XSelectionEvent_113 XSelectionEvent;   1824 typedef struct __anonstruct_XSelectionEvent_113 XSelectionEvent;
1825 struct __anonstruct_XColormapEvent_114 {   1825 struct __anonstruct_XColormapEvent_114 {
1826    int type ;   1826    int type ;
1827    unsigned long serial ;   1827    unsigned long serial ;
1828    int send_event ;   1828    int send_event ;
1829    Display *display ;   1829    Display *display ;
1830    Window window ;   1830    Window window ;
1831    Colormap colormap ;   1831    Colormap colormap ;
1832    int new ;   1832    int new ;
1833    int state ;   1833    int state ;
1834 };   1834 };
1835 typedef struct __anonstruct_XColormapEvent_114 XColormapEvent;   1835 typedef struct __anonstruct_XColormapEvent_114 XColormapEvent;
1836 union __anonunion_data_116 {   1836 union __anonunion_data_116 {
1837    char b[20] ;   1837    char b[20] ;
1838    short s[10] ;   1838    short s[10] ;
1839    long l[5] ;   1839    long l[5] ;
1840 };   1840 };
1841 struct __anonstruct_XClientMessageEvent_115 {   1841 struct __anonstruct_XClientMessageEvent_115 {
1842    int type ;   1842    int type ;
1843    unsigned long serial ;   1843    unsigned long serial ;
1844    int send_event ;   1844    int send_event ;
1845    Display *display ;   1845    Display *display ;
1846    Window window ;   1846    Window window ;
1847    Atom message_type ;   1847    Atom message_type ;
1848    int format ;   1848    int format ;
1849    union __anonunion_data_116 data ;   1849    union __anonunion_data_116 data ;
1850 };   1850 };
1851 typedef struct __anonstruct_XClientMessageEvent_115 XClientMessageEvent;   1851 typedef struct __anonstruct_XClientMessageEvent_115 XClientMessageEvent;
1852 struct __anonstruct_XMappingEvent_117 {   1852 struct __anonstruct_XMappingEvent_117 {
1853    int type ;   1853    int type ;
1854    unsigned long serial ;   1854    unsigned long serial ;
1855    int send_event ;   1855    int send_event ;
1856    Display *display ;   1856    Display *display ;
1857    Window window ;   1857    Window window ;
1858    int request ;   1858    int request ;
1859    int first_keycode ;   1859    int first_keycode ;
1860    int count ;   1860    int count ;
1861 };   1861 };
1862 typedef struct __anonstruct_XMappingEvent_117 XMappingEvent;   1862 typedef struct __anonstruct_XMappingEvent_117 XMappingEvent;
1863 struct __anonstruct_XErrorEvent_118 {   1863 struct __anonstruct_XErrorEvent_118 {
1864    int type ;   1864    int type ;
1865    Display *display ;   1865    Display *display ;
1866    XID resourceid ;   1866    XID resourceid ;
1867    unsigned long serial ;   1867    unsigned long serial ;
1868    unsigned char error_code ;   1868    unsigned char error_code ;
1869    unsigned char request_code ;   1869    unsigned char request_code ;
1870    unsigned char minor_code ;   1870    unsigned char minor_code ;
1871 };   1871 };
1872 typedef struct __anonstruct_XErrorEvent_118 XErrorEvent;   1872 typedef struct __anonstruct_XErrorEvent_118 XErrorEvent;
1873 struct __anonstruct_XAnyEvent_119 {   1873 struct __anonstruct_XAnyEvent_119 {
1874    int type ;   1874    int type ;
1875    unsigned long serial ;   1875    unsigned long serial ;
1876    int send_event ;   1876    int send_event ;
1877    Display *display ;   1877    Display *display ;
1878    Window window ;   1878    Window window ;
1879 };   1879 };
1880 typedef struct __anonstruct_XAnyEvent_119 XAnyEvent;   1880 typedef struct __anonstruct_XAnyEvent_119 XAnyEvent;
1881 struct __anonstruct_XGenericEvent_120 {   1881 struct __anonstruct_XGenericEvent_120 {
1882    int type ;   1882    int type ;
1883    unsigned long serial ;   1883    unsigned long serial ;
1884    int send_event ;   1884    int send_event ;
1885    Display *display ;   1885    Display *display ;
1886    int extension ;   1886    int extension ;
1887    int evtype ;   1887    int evtype ;
1888 };   1888 };
1889 typedef struct __anonstruct_XGenericEvent_120 XGenericEvent;   1889 typedef struct __anonstruct_XGenericEvent_120 XGenericEvent;
1890 struct __anonstruct_XGenericEventCookie_121 {   1890 struct __anonstruct_XGenericEventCookie_121 {
1891    int type ;   1891    int type ;
1892    unsigned long serial ;   1892    unsigned long serial ;
1893    int send_event ;   1893    int send_event ;
1894    Display *display ;   1894    Display *display ;
1895    int extension ;   1895    int extension ;
1896    int evtype ;   1896    int evtype ;
1897    unsigned int cookie ;   1897    unsigned int cookie ;
1898    void *data ;   1898    void *data ;
1899 };   1899 };
1900 typedef struct __anonstruct_XGenericEventCookie_121 XGenericEventCookie;   1900 typedef struct __anonstruct_XGenericEventCookie_121 XGenericEventCookie;
1901 union _XEvent {   1901 union _XEvent {
1902    int type ;   1902    int type ;
1903    XAnyEvent xany ;   1903    XAnyEvent xany ;
1904    XKeyEvent xkey ;   1904    XKeyEvent xkey ;
1905    XButtonEvent xbutton ;   1905    XButtonEvent xbutton ;
1906    XMotionEvent xmotion ;   1906    XMotionEvent xmotion ;
1907    XCrossingEvent xcrossing ;   1907    XCrossingEvent xcrossing ;
1908    XFocusChangeEvent xfocus ;   1908    XFocusChangeEvent xfocus ;
1909    XExposeEvent xexpose ;   1909    XExposeEvent xexpose ;
1910    XGraphicsExposeEvent xgraphicsexpose ;   1910    XGraphicsExposeEvent xgraphicsexpose ;
1911    XNoExposeEvent xnoexpose ;   1911    XNoExposeEvent xnoexpose ;
1912    XVisibilityEvent xvisibility ;   1912    XVisibilityEvent xvisibility ;
1913    XCreateWindowEvent xcreatewindow ;   1913    XCreateWindowEvent xcreatewindow ;
1914    XDestroyWindowEvent xdestroywindow ;   1914    XDestroyWindowEvent xdestroywindow ;
1915    XUnmapEvent xunmap ;   1915    XUnmapEvent xunmap ;
1916    XMapEvent xmap ;   1916    XMapEvent xmap ;
1917    XMapRequestEvent xmaprequest ;   1917    XMapRequestEvent xmaprequest ;
1918    XReparentEvent xreparent ;   1918    XReparentEvent xreparent ;
1919    XConfigureEvent xconfigure ;   1919    XConfigureEvent xconfigure ;
1920    XGravityEvent xgravity ;   1920    XGravityEvent xgravity ;
1921    XResizeRequestEvent xresizerequest ;   1921    XResizeRequestEvent xresizerequest ;
1922    XConfigureRequestEvent xconfigurerequest ;   1922    XConfigureRequestEvent xconfigurerequest ;
1923    XCirculateEvent xcirculate ;   1923    XCirculateEvent xcirculate ;
1924    XCirculateRequestEvent xcirculaterequest ;   1924    XCirculateRequestEvent xcirculaterequest ;
1925    XPropertyEvent xproperty ;   1925    XPropertyEvent xproperty ;
1926    XSelectionClearEvent xselectionclear ;   1926    XSelectionClearEvent xselectionclear ;
1927    XSelectionRequestEvent xselectionrequest ;   1927    XSelectionRequestEvent xselectionrequest ;
1928    XSelectionEvent xselection ;   1928    XSelectionEvent xselection ;
1929    XColormapEvent xcolormap ;   1929    XColormapEvent xcolormap ;
1930    XClientMessageEvent xclient ;   1930    XClientMessageEvent xclient ;
1931    XMappingEvent xmapping ;   1931    XMappingEvent xmapping ;
1932    XErrorEvent xerror ;   1932    XErrorEvent xerror ;
1933    XKeymapEvent xkeymap ;   1933    XKeymapEvent xkeymap ;
1934    XGenericEvent xgeneric ;   1934    XGenericEvent xgeneric ;
1935    XGenericEventCookie xcookie ;   1935    XGenericEventCookie xcookie ;
1936    long pad[24] ;   1936    long pad[24] ;
1937 };   1937 };
1938 typedef union _XEvent XEvent;   1938 typedef union _XEvent XEvent;
1939 struct __anonstruct_XCharStruct_122 {   1939 struct __anonstruct_XCharStruct_122 {
1940    short lbearing ;   1940    short lbearing ;
1941    short rbearing ;   1941    short rbearing ;
1942    short width ;   1942    short width ;
1943    short ascent ;   1943    short ascent ;
1944    short descent ;   1944    short descent ;
1945    unsigned short attributes ;   1945    unsigned short attributes ;
1946 };   1946 };
1947 typedef struct __anonstruct_XCharStruct_122 XCharStruct;   1947 typedef struct __anonstruct_XCharStruct_122 XCharStruct;
1948 struct __anonstruct_XFontProp_123 {   1948 struct __anonstruct_XFontProp_123 {
1949    Atom name ;   1949    Atom name ;
1950    unsigned long card32 ;   1950    unsigned long card32 ;
1951 };   1951 };
1952 typedef struct __anonstruct_XFontProp_123 XFontProp;   1952 typedef struct __anonstruct_XFontProp_123 XFontProp;
1953 struct __anonstruct_XFontStruct_124 {   1953 struct __anonstruct_XFontStruct_124 {
1954    XExtData *ext_data ;   1954    XExtData *ext_data ;
1955    Font fid ;   1955    Font fid ;
1956    unsigned int direction ;   1956    unsigned int direction ;
1957    unsigned int min_char_or_byte2 ;   1957    unsigned int min_char_or_byte2 ;
1958    unsigned int max_char_or_byte2 ;   1958    unsigned int max_char_or_byte2 ;
1959    unsigned int min_byte1 ;   1959    unsigned int min_byte1 ;
1960    unsigned int max_byte1 ;   1960    unsigned int max_byte1 ;
1961    int all_chars_exist ;   1961    int all_chars_exist ;
1962    unsigned int default_char ;   1962    unsigned int default_char ;
1963    int n_properties ;   1963    int n_properties ;
1964    XFontProp *properties ;   1964    XFontProp *properties ;
1965    XCharStruct min_bounds ;   1965    XCharStruct min_bounds ;
1966    XCharStruct max_bounds ;   1966    XCharStruct max_bounds ;
1967    XCharStruct *per_char ;   1967    XCharStruct *per_char ;
1968    int ascent ;   1968    int ascent ;
1969    int descent ;   1969    int descent ;
1970 };   1970 };
1971 typedef struct __anonstruct_XFontStruct_124 XFontStruct;   1971 typedef struct __anonstruct_XFontStruct_124 XFontStruct;
1972 struct __anonstruct_XTextItem_125 {   1972 struct __anonstruct_XTextItem_125 {
1973    char *chars ;   1973    char *chars ;
1974    int nchars ;   1974    int nchars ;
1975    int delta ;   1975    int delta ;
1976    Font font ;   1976    Font font ;
1977 };   1977 };
1978 typedef struct __anonstruct_XTextItem_125 XTextItem;   1978 typedef struct __anonstruct_XTextItem_125 XTextItem;
1979 struct __anonstruct_XChar2b_126 {   1979 struct __anonstruct_XChar2b_126 {
1980    unsigned char byte1 ;   1980    unsigned char byte1 ;
1981    unsigned char byte2 ;   1981    unsigned char byte2 ;
1982 };   1982 };
1983 typedef struct __anonstruct_XChar2b_126 XChar2b;   1983 typedef struct __anonstruct_XChar2b_126 XChar2b;
1984 struct __anonstruct_XTextItem16_127 {   1984 struct __anonstruct_XTextItem16_127 {
1985    XChar2b *chars ;   1985    XChar2b *chars ;
1986    int nchars ;   1986    int nchars ;
1987    int delta ;   1987    int delta ;
1988    Font font ;   1988    Font font ;
1989 };   1989 };
1990 typedef struct __anonstruct_XTextItem16_127 XTextItem16;   1990 typedef struct __anonstruct_XTextItem16_127 XTextItem16;
1991 union __anonunion_XEDataObject_128 {   1991 union __anonunion_XEDataObject_128 {
1992    Display *display ;   1992    Display *display ;
1993    GC gc ;   1993    GC gc ;
1994    Visual *visual ;   1994    Visual *visual ;
1995    Screen *screen ;   1995    Screen *screen ;
1996    ScreenFormat *pixmap_format ;   1996    ScreenFormat *pixmap_format ;
1997    XFontStruct *font ;   1997    XFontStruct *font ;
1998 };   1998 };
1999 typedef union __anonunion_XEDataObject_128 XEDataObject;   1999 typedef union __anonunion_XEDataObject_128 XEDataObject;
2000 struct __anonstruct_XFontSetExtents_129 {   2000 struct __anonstruct_XFontSetExtents_129 {
2001    XRectangle max_ink_extent ;   2001    XRectangle max_ink_extent ;
2002    XRectangle max_logical_extent ;   2002    XRectangle max_logical_extent ;
2003 };   2003 };
2004 typedef struct __anonstruct_XFontSetExtents_129 XFontSetExtents;   2004 typedef struct __anonstruct_XFontSetExtents_129 XFontSetExtents;
2005 struct _XOM;   2005 struct _XOM;
2006 typedef struct _XOM *XOM;   2006 typedef struct _XOM *XOM;
2007 struct _XOC;   2007 struct _XOC;
2008 typedef struct _XOC *XOC;   2008 typedef struct _XOC *XOC;
2009 typedef struct _XOC *XFontSet;   2009 typedef struct _XOC *XFontSet;
2010 struct __anonstruct_XmbTextItem_130 {   2010 struct __anonstruct_XmbTextItem_130 {
2011    char *chars ;   2011    char *chars ;
2012    int nchars ;   2012    int nchars ;
2013    int delta ;   2013    int delta ;
2014    XFontSet font_set ;   2014    XFontSet font_set ;
2015 };   2015 };
2016 typedef struct __anonstruct_XmbTextItem_130 XmbTextItem;   2016 typedef struct __anonstruct_XmbTextItem_130 XmbTextItem;
2017 struct __anonstruct_XwcTextItem_131 {   2017 struct __anonstruct_XwcTextItem_131 {
2018    wchar_t *chars ;   2018    wchar_t *chars ;
2019    int nchars ;   2019    int nchars ;
2020    int delta ;   2020    int delta ;
2021    XFontSet font_set ;   2021    XFontSet font_set ;
2022 };   2022 };
2023 typedef struct __anonstruct_XwcTextItem_131 XwcTextItem;   2023 typedef struct __anonstruct_XwcTextItem_131 XwcTextItem;
2024 struct __anonstruct_XOMCharSetList_132 {   2024 struct __anonstruct_XOMCharSetList_132 {
2025    int charset_count ;   2025    int charset_count ;
2026    char **charset_list ;   2026    char **charset_list ;
2027 };   2027 };
2028 typedef struct __anonstruct_XOMCharSetList_132 XOMCharSetList;   2028 typedef struct __anonstruct_XOMCharSetList_132 XOMCharSetList;
2029 enum __anonenum_XOrientation_133 {   2029 enum __anonenum_XOrientation_133 {
2030     XOMOrientation_LTR_TTB = 0,   2030     XOMOrientation_LTR_TTB = 0,
2031     XOMOrientation_RTL_TTB = 1,   2031     XOMOrientation_RTL_TTB = 1,
2032     XOMOrientation_TTB_LTR = 2,   2032     XOMOrientation_TTB_LTR = 2,
2033     XOMOrientation_TTB_RTL = 3,   2033     XOMOrientation_TTB_RTL = 3,
2034     XOMOrientation_Context = 4   2034     XOMOrientation_Context = 4
2035 } ;   2035 } ;
2036 typedef enum __anonenum_XOrientation_133 XOrientation;   2036 typedef enum __anonenum_XOrientation_133 XOrientation;
2037 struct __anonstruct_XOMOrientation_134 {   2037 struct __anonstruct_XOMOrientation_134 {
2038    int num_orientation ;   2038    int num_orientation ;
2039    XOrientation *orientation ;   2039    XOrientation *orientation ;
2040 };   2040 };
2041 typedef struct __anonstruct_XOMOrientation_134 XOMOrientation;   2041 typedef struct __anonstruct_XOMOrientation_134 XOMOrientation;
2042 struct __anonstruct_XOMFontInfo_135 {   2042 struct __anonstruct_XOMFontInfo_135 {
2043    int num_font ;   2043    int num_font ;
2044    XFontStruct **font_struct_list ;   2044    XFontStruct **font_struct_list ;
2045    char **font_name_list ;   2045    char **font_name_list ;
2046 };   2046 };
2047 typedef struct __anonstruct_XOMFontInfo_135 XOMFontInfo;   2047 typedef struct __anonstruct_XOMFontInfo_135 XOMFontInfo;
2048 struct _XIM;   2048 struct _XIM;
2049 typedef struct _XIM *XIM;   2049 typedef struct _XIM *XIM;
2050 struct _XIC;   2050 struct _XIC;
2051 typedef struct _XIC *XIC;   2051 typedef struct _XIC *XIC;
2052 typedef void (*XIMProc)(XIM  , XPointer  , XPointer  );   2052 typedef void (*XIMProc)(XIM  , XPointer  , XPointer  );
2053 typedef int (*XICProc)(XIC  , XPointer  , XPointer  );   2053 typedef int (*XICProc)(XIC  , XPointer  , XPointer  );
2054 typedef void (*XIDProc)(Display * , XPointer  , XPointer  );   2054 typedef void (*XIDProc)(Display * , XPointer  , XPointer  );
2055 typedef unsigned long XIMStyle;   2055 typedef unsigned long XIMStyle;
2056 struct __anonstruct_XIMStyles_136 {   2056 struct __anonstruct_XIMStyles_136 {
2057    unsigned short count_styles ;   2057    unsigned short count_styles ;
2058    XIMStyle *supported_styles ;   2058    XIMStyle *supported_styles ;
2059 };   2059 };
2060 typedef struct __anonstruct_XIMStyles_136 XIMStyles;   2060 typedef struct __anonstruct_XIMStyles_136 XIMStyles;
2061 typedef void *XVaNestedList;   2061 typedef void *XVaNestedList;
2062 struct __anonstruct_XIMCallback_137 {   2062 struct __anonstruct_XIMCallback_137 {
2063    XPointer client_data ;   2063    XPointer client_data ;
2064    void (*callback)(XIM  , XPointer  , XPointer  ) ;   2064    void (*callback)(XIM  , XPointer  , XPointer  ) ;
2065 };   2065 };
2066 typedef struct __anonstruct_XIMCallback_137 XIMCallback;   2066 typedef struct __anonstruct_XIMCallback_137 XIMCallback;
2067 struct __anonstruct_XICCallback_138 {   2067 struct __anonstruct_XICCallback_138 {
2068    XPointer client_data ;   2068    XPointer client_data ;
2069    int (*callback)(XIC  , XPointer  , XPointer  ) ;   2069    int (*callback)(XIC  , XPointer  , XPointer  ) ;
2070 };   2070 };
2071 typedef struct __anonstruct_XICCallback_138 XICCallback;   2071 typedef struct __anonstruct_XICCallback_138 XICCallback;
2072 typedef unsigned long XIMFeedback;   2072 typedef unsigned long XIMFeedback;
2073 union __anonunion_string_139 {   2073 union __anonunion_string_139 {
2074    char *multi_byte ;   2074    char *multi_byte ;
2075    wchar_t *wide_char ;   2075    wchar_t *wide_char ;
2076 };   2076 };
2077 struct _XIMText {   2077 struct _XIMText {
2078    unsigned short length ;   2078    unsigned short length ;
2079    XIMFeedback *feedback ;   2079    XIMFeedback *feedback ;
2080    int encoding_is_wchar ;   2080    int encoding_is_wchar ;
2081    union __anonunion_string_139 string ;   2081    union __anonunion_string_139 string ;
2082 };   2082 };
2083 typedef struct _XIMText XIMText;   2083 typedef struct _XIMText XIMText;
2084 typedef unsigned long XIMPreeditState;   2084 typedef unsigned long XIMPreeditState;
2085 struct _XIMPreeditStateNotifyCallbackStruct {   2085 struct _XIMPreeditStateNotifyCallbackStruct {
2086    XIMPreeditState state ;   2086    XIMPreeditState state ;
2087 };   2087 };
2088 typedef struct _XIMPreeditStateNotifyCallbackStruct XIMPreeditStateNotifyCallbackStruct;   2088 typedef struct _XIMPreeditStateNotifyCallbackStruct XIMPreeditStateNotifyCallbackStruct;
2089 typedef unsigned long XIMResetState;   2089 typedef unsigned long XIMResetState;
2090 typedef unsigned long XIMStringConversionFeedback;   2090 typedef unsigned long XIMStringConversionFeedback;
2091 union __anonunion_string_140 {   2091 union __anonunion_string_140 {
2092    char *mbs ;   2092    char *mbs ;
2093    wchar_t *wcs ;   2093    wchar_t *wcs ;
2094 };   2094 };
2095 struct _XIMStringConversionText {   2095 struct _XIMStringConversionText {
2096    unsigned short length ;   2096    unsigned short length ;
2097    XIMStringConversionFeedback *feedback ;   2097    XIMStringConversionFeedback *feedback ;
2098    int encoding_is_wchar ;   2098    int encoding_is_wchar ;
2099    union __anonunion_string_140 string ;   2099    union __anonunion_string_140 string ;
2100 };   2100 };
2101 typedef struct _XIMStringConversionText XIMStringConversionText;   2101 typedef struct _XIMStringConversionText XIMStringConversionText;
2102 typedef unsigned short XIMStringConversionPosition;   2102 typedef unsigned short XIMStringConversionPosition;
2103 typedef unsigned short XIMStringConversionType;   2103 typedef unsigned short XIMStringConversionType;
2104 typedef unsigned short XIMStringConversionOperation;   2104 typedef unsigned short XIMStringConversionOperation;
2105 enum __anonenum_XIMCaretDirection_141 {   2105 enum __anonenum_XIMCaretDirection_141 {
2106     XIMForwardChar = 0,   2106     XIMForwardChar = 0,
2107     XIMBackwardChar = 1,   2107     XIMBackwardChar = 1,
2108     XIMForwardWord = 2,   2108     XIMForwardWord = 2,
2109     XIMBackwardWord = 3,   2109     XIMBackwardWord = 3,
2110     XIMCaretUp = 4,   2110     XIMCaretUp = 4,
2111     XIMCaretDown = 5,   2111     XIMCaretDown = 5,
2112     XIMNextLine = 6,   2112     XIMNextLine = 6,
2113     XIMPreviousLine = 7,   2113     XIMPreviousLine = 7,
2114     XIMLineStart = 8,   2114     XIMLineStart = 8,
2115     XIMLineEnd = 9,   2115     XIMLineEnd = 9,
2116     XIMAbsolutePosition = 10,   2116     XIMAbsolutePosition = 10,
2117     XIMDontChange = 11   2117     XIMDontChange = 11
2118 } ;   2118 } ;
2119 typedef enum __anonenum_XIMCaretDirection_141 XIMCaretDirection;   2119 typedef enum __anonenum_XIMCaretDirection_141 XIMCaretDirection;
2120 struct _XIMStringConversionCallbackStruct {   2120 struct _XIMStringConversionCallbackStruct {
2121    XIMStringConversionPosition position ;   2121    XIMStringConversionPosition position ;
2122    XIMCaretDirection direction ;   2122    XIMCaretDirection direction ;
2123    XIMStringConversionOperation operation ;   2123    XIMStringConversionOperation operation ;
2124    unsigned short factor ;   2124    unsigned short factor ;
2125    XIMStringConversionText *text ;   2125    XIMStringConversionText *text ;
2126 };   2126 };
2127 typedef struct _XIMStringConversionCallbackStruct XIMStringConversionCallbackStruct;   2127 typedef struct _XIMStringConversionCallbackStruct XIMStringConversionCallbackStruct;
2128 struct _XIMPreeditDrawCallbackStruct {   2128 struct _XIMPreeditDrawCallbackStruct {
2129    int caret ;   2129    int caret ;
2130    int chg_first ;   2130    int chg_first ;
2131    int chg_length ;   2131    int chg_length ;
2132    XIMText *text ;   2132    XIMText *text ;
2133 };   2133 };
2134 typedef struct _XIMPreeditDrawCallbackStruct XIMPreeditDrawCallbackStruct;   2134 typedef struct _XIMPreeditDrawCallbackStruct XIMPreeditDrawCallbackStruct;
2135 enum __anonenum_XIMCaretStyle_142 {   2135 enum __anonenum_XIMCaretStyle_142 {
2136     XIMIsInvisible = 0,   2136     XIMIsInvisible = 0,
2137     XIMIsPrimary = 1,   2137     XIMIsPrimary = 1,
2138     XIMIsSecondary = 2   2138     XIMIsSecondary = 2
2139 } ;   2139 } ;
2140 typedef enum __anonenum_XIMCaretStyle_142 XIMCaretStyle;   2140 typedef enum __anonenum_XIMCaretStyle_142 XIMCaretStyle;
2141 struct _XIMPreeditCaretCallbackStruct {   2141 struct _XIMPreeditCaretCallbackStruct {
2142    int position ;   2142    int position ;
2143    XIMCaretDirection direction ;   2143    XIMCaretDirection direction ;
2144    XIMCaretStyle style ;   2144    XIMCaretStyle style ;
2145 };   2145 };
2146 typedef struct _XIMPreeditCaretCallbackStruct XIMPreeditCaretCallbackStruct;   2146 typedef struct _XIMPreeditCaretCallbackStruct XIMPreeditCaretCallbackStruct;
2147 enum __anonenum_XIMStatusDataType_143 {   2147 enum __anonenum_XIMStatusDataType_143 {
2148     XIMTextType = 0,   2148     XIMTextType = 0,
2149     XIMBitmapType = 1   2149     XIMBitmapType = 1
2150 } ;   2150 } ;
2151 typedef enum __anonenum_XIMStatusDataType_143 XIMStatusDataType;   2151 typedef enum __anonenum_XIMStatusDataType_143 XIMStatusDataType;
2152 union __anonunion_data_144 {   2152 union __anonunion_data_144 {
2153    XIMText *text ;   2153    XIMText *text ;
2154    Pixmap bitmap ;   2154    Pixmap bitmap ;
2155 };   2155 };
2156 struct _XIMStatusDrawCallbackStruct {   2156 struct _XIMStatusDrawCallbackStruct {
2157    XIMStatusDataType type ;   2157    XIMStatusDataType type ;
2158    union __anonunion_data_144 data ;   2158    union __anonunion_data_144 data ;
2159 };   2159 };
2160 typedef struct _XIMStatusDrawCallbackStruct XIMStatusDrawCallbackStruct;   2160 typedef struct _XIMStatusDrawCallbackStruct XIMStatusDrawCallbackStruct;
2161 struct _XIMHotKeyTrigger {   2161 struct _XIMHotKeyTrigger {
2162    KeySym keysym ;   2162    KeySym keysym ;
2163    int modifier ;   2163    int modifier ;
2164    int modifier_mask ;   2164    int modifier_mask ;
2165 };   2165 };
2166 typedef struct _XIMHotKeyTrigger XIMHotKeyTrigger;   2166 typedef struct _XIMHotKeyTrigger XIMHotKeyTrigger;
2167 struct _XIMHotKeyTriggers {   2167 struct _XIMHotKeyTriggers {
2168    int num_hot_key ;   2168    int num_hot_key ;
2169    XIMHotKeyTrigger *key ;   2169    XIMHotKeyTrigger *key ;
2170 };   2170 };
2171 typedef struct _XIMHotKeyTriggers XIMHotKeyTriggers;   2171 typedef struct _XIMHotKeyTriggers XIMHotKeyTriggers;
2172 typedef unsigned long XIMHotKeyState;   2172 typedef unsigned long XIMHotKeyState;
2173 struct __anonstruct_XIMValuesList_145 {   2173 struct __anonstruct_XIMValuesList_145 {
2174    unsigned short count_values ;   2174    unsigned short count_values ;
2175    char **supported_values ;   2175    char **supported_values ;
2176 };   2176 };
2177 typedef struct __anonstruct_XIMValuesList_145 XIMValuesList;   2177 typedef struct __anonstruct_XIMValuesList_145 XIMValuesList;
2178 typedef int (*XErrorHandler)(Display * , XErrorEvent * );   2178 typedef int (*XErrorHandler)(Display * , XErrorEvent * );
2179 typedef int (*XIOErrorHandler)(Display * );   2179 typedef int (*XIOErrorHandler)(Display * );
2180 typedef void (*XConnectionWatchProc)(Display * , XPointer  , int  , int  ,   2180 typedef void (*XConnectionWatchProc)(Display * , XPointer  , int  , int  ,
2181                                      XPointer * );   2181                                      XPointer * );
2182 struct winsize {   2182 struct winsize {
2183    unsigned short ws_row ;   2183    unsigned short ws_row ;
2184    unsigned short ws_col ;   2184    unsigned short ws_col ;
2185    unsigned short ws_xpixel ;   2185    unsigned short ws_xpixel ;
2186    unsigned short ws_ypixel ;   2186    unsigned short ws_ypixel ;
2187 };   2187 };
2188 struct termio {   2188 struct termio {
2189    unsigned short c_iflag ;   2189    unsigned short c_iflag ;
2190    unsigned short c_oflag ;   2190    unsigned short c_oflag ;
2191    unsigned short c_cflag ;   2191    unsigned short c_cflag ;
2192    unsigned short c_lflag ;   2192    unsigned short c_lflag ;
2193    unsigned char c_line ;   2193    unsigned char c_line ;
2194    unsigned char c_cc[8] ;   2194    unsigned char c_cc[8] ;
2195 };   2195 };
2196 struct FBCONSOLE {   2196 struct FBCONSOLE {
2197    int inited ;   2197    int inited ;
2198    int term_type ;   2198    int term_type ;
2199    int h_out ;   2199    int h_out ;
2200    int h_in ;   2200    int h_in ;
2201    FILE *f_out ;   2201    FILE *f_out ;
2202    FILE *f_in ;   2202    FILE *f_in ;
2203    struct termios old_term_out ;   2203    struct termios old_term_out ;
2204    struct termios old_term_in ;   2204    struct termios old_term_in ;
2205    int in_flags ;   2205    int in_flags ;
2206    int old_in_flags ;   2206    int old_in_flags ;
2207    int fg_color ;   2207    int fg_color ;
2208    int bg_color ;   2208    int bg_color ;
2209    int cur_x ;   2209    int cur_x ;
2210    int cur_y ;   2210    int cur_y ;
2211    int w ;   2211    int w ;
2212    int h ;   2212    int h ;
2213    unsigned char *char_buffer ;   2213    unsigned char *char_buffer ;
2214    unsigned char *attr_buffer ;   2214    unsigned char *attr_buffer ;
2215    pthread_t bg_thread ;   2215    pthread_t bg_thread ;
2216    pthread_mutex_t bg_mutex ;   2216    pthread_mutex_t bg_mutex ;
2217    int has_perm ;   2217    int has_perm ;
2218    char *seq[17] ;   2218    char *seq[17] ;
2219    int (*keyboard_getch)(void) ;   2219    int (*keyboard_getch)(void) ;
2220    int (*keyboard_init)(void) ;   2220    int (*keyboard_init)(void) ;
2221    void (*keyboard_exit)(void) ;   2221    void (*keyboard_exit)(void) ;
2222    void (*keyboard_handler)(void) ;   2222    void (*keyboard_handler)(void) ;
2223    int (*mouse_init)(void) ;   2223    int (*mouse_init)(void) ;
2224    void (*mouse_exit)(void) ;   2224    void (*mouse_exit)(void) ;
2225    void (*mouse_handler)(void) ;   2225    void (*mouse_handler)(void) ;
2226    void (*mouse_update)(int cb , int cx , int cy ) ;   2226    void (*mouse_update)(int cb , int cx , int cy ) ;
2227    void (*gfx_exit)(void) ;   2227    void (*gfx_exit)(void) ;
2228 };   2228 };
2229 typedef struct FBCONSOLE FBCONSOLE;   2229 typedef struct FBCONSOLE FBCONSOLE;
2230 struct _FB_DIRCTX {   2230 struct _FB_DIRCTX {
2231    int in_use ;   2231    int in_use ;
2232    int attrib ;   2232    int attrib ;
2233    DIR *dir ;   2233    DIR *dir ;
2234    char filespec[1024] ;   2234    char filespec[1024] ;
2235    char dirname[1024] ;   2235    char dirname[1024] ;
2236 };   2236 };
2237 typedef struct _FB_DIRCTX FB_DIRCTX;   2237 typedef struct _FB_DIRCTX FB_DIRCTX;
2238 typedef off_t fb_off_t;   2238 typedef off_t fb_off_t;
2239 struct _FBMUTEX {   2239 struct _FBMUTEX {
2240    pthread_mutex_t id ;   2240    pthread_mutex_t id ;
2241 };   2241 };
2242 typedef struct _FBMUTEX FBMUTEX;   2242 typedef struct _FBMUTEX FBMUTEX;
2243 struct KeysymToScancode {   2243 struct KeysymToScancode {
2244    KeySym keysym ;   2244    KeySym keysym ;
2245    int scancode ;   2245    int scancode ;
2246 };   2246 };
2247 typedef struct KeysymToScancode KeysymToScancode;   2247 typedef struct KeysymToScancode KeysymToScancode;
2248 typedef unsigned char uint8_t;   2248 typedef unsigned char uint8_t;
2249 typedef unsigned short uint16_t;   2249 typedef unsigned short uint16_t;
2250 typedef unsigned int uint32_t;   2250 typedef unsigned int uint32_t;
2251 typedef unsigned long long uint64_t;   2251 typedef unsigned long long uint64_t;
2252 typedef signed char int_least8_t;   2252 typedef signed char int_least8_t;
2253 typedef short int_least16_t;   2253 typedef short int_least16_t;
2254 typedef int int_least32_t;   2254 typedef int int_least32_t;
2255 typedef long long int_least64_t;   2255 typedef long long int_least64_t;
2256 typedef unsigned char uint_least8_t;   2256 typedef unsigned char uint_least8_t;
2257 typedef unsigned short uint_least16_t;   2257 typedef unsigned short uint_least16_t;
2258 typedef unsigned int uint_least32_t;   2258 typedef unsigned int uint_least32_t;
2259 typedef unsigned long long uint_least64_t;   2259 typedef unsigned long long uint_least64_t;
2260 typedef signed char int_fast8_t;   2260 typedef signed char int_fast8_t;
2261 typedef int int_fast16_t;   2261 typedef int int_fast16_t;
2262 typedef int int_fast32_t;   2262 typedef int int_fast32_t;
2263 typedef long long int_fast64_t;   2263 typedef long long int_fast64_t;
2264 typedef unsigned char uint_fast8_t;   2264 typedef unsigned char uint_fast8_t;
2265 typedef unsigned int uint_fast16_t;   2265 typedef unsigned int uint_fast16_t;
2266 typedef unsigned int uint_fast32_t;   2266 typedef unsigned int uint_fast32_t;
2267 typedef unsigned long long uint_fast64_t;   2267 typedef unsigned long long uint_fast64_t;
2268 typedef unsigned int uintptr_t;   2268 typedef unsigned int uintptr_t;
2269 typedef long long intmax_t;   2269 typedef long long intmax_t;
2270 typedef unsigned long long uintmax_t;   2270 typedef unsigned long long uintmax_t;
2271 typedef uint32_t UTF_32;   2271 typedef uint32_t UTF_32;
2272 typedef uint16_t UTF_16;   2272 typedef uint16_t UTF_16;
2273 typedef uint8_t UTF_8;   2273 typedef uint8_t UTF_8;
2274 typedef unsigned int wint_t;   2274 typedef unsigned int wint_t;
2275 typedef __mbstate_t mbstate_t;   2275 typedef __mbstate_t mbstate_t;
2276 struct tm;   2276 struct tm;
2277 typedef unsigned long wctype_t;   2277 typedef unsigned long wctype_t;
2278 enum __anonenum_146 {   2278 enum __anonenum_146 {
2279     __ISwupper = 0,   2279     __ISwupper = 0,
2280     __ISwlower = 1,   2280     __ISwlower = 1,
2281     __ISwalpha = 2,   2281     __ISwalpha = 2,
2282     __ISwdigit = 3,   2282     __ISwdigit = 3,
2283     __ISwxdigit = 4,   2283     __ISwxdigit = 4,
2284     __ISwspace = 5,   2284     __ISwspace = 5,
2285     __ISwprint = 6,   2285     __ISwprint = 6,
2286     __ISwgraph = 7,   2286     __ISwgraph = 7,
2287     __ISwblank = 8,   2287     __ISwblank = 8,
2288     __ISwcntrl = 9,   2288     __ISwcntrl = 9,
2289     __ISwpunct = 10,   2289     __ISwpunct = 10,
2290     __ISwalnum = 11,   2290     __ISwalnum = 11,
2291     _ISwupper = 16777216,   2291     _ISwupper = 16777216,
2292     _ISwlower = 33554432,   2292     _ISwlower = 33554432,
2293     _ISwalpha = 67108864,   2293     _ISwalpha = 67108864,
2294     _ISwdigit = 134217728,   2294     _ISwdigit = 134217728,
2295     _ISwxdigit = 268435456,   2295     _ISwxdigit = 268435456,
2296     _ISwspace = 536870912,   2296     _ISwspace = 536870912,
2297     _ISwprint = 1073741824,   2297     _ISwprint = 1073741824,
2298     _ISwgraph = (-0x7FFFFFFF-1),   2298     _ISwgraph = (-0x7FFFFFFF-1),
2299     _ISwblank = 65536,   2299     _ISwblank = 65536,
2300     _ISwcntrl = 131072,   2300     _ISwcntrl = 131072,
2301     _ISwpunct = 262144,   2301     _ISwpunct = 262144,
2302     _ISwalnum = 524288   2302     _ISwalnum = 524288
2303 } ;   2303 } ;
2304 typedef __int32_t const   *wctrans_t;   2304 typedef __int32_t const   *wctrans_t;
2305 struct _FB_LISTELEM {   2305 struct _FB_LISTELEM {
2306    struct _FB_LISTELEM *prev ;   2306    struct _FB_LISTELEM *prev ;
2307    struct _FB_LISTELEM *next ;   2307    struct _FB_LISTELEM *next ;
2308 };   2308 };
2309 typedef struct _FB_LISTELEM FB_LISTELEM;   2309 typedef struct _FB_LISTELEM FB_LISTELEM;
2310 struct _FB_LIST {   2310 struct _FB_LIST {
2311    int cnt ;   2311    int cnt ;
2312    FB_LISTELEM *head ;   2312    FB_LISTELEM *head ;
2313    FB_LISTELEM *tail ;   2313    FB_LISTELEM *tail ;
2314    FB_LISTELEM *fhead ;   2314    FB_LISTELEM *fhead ;
2315 };   2315 };
2316 typedef struct _FB_LIST FB_LIST;   2316 typedef struct _FB_LIST FB_LIST;
2317 enum _FB_RTERROR {   2317 enum _FB_RTERROR {
2318     FB_RTERROR_OK = 0,   2318     FB_RTERROR_OK = 0,
2319     FB_RTERROR_ILLEGALFUNCTIONCALL = 1,   2319     FB_RTERROR_ILLEGALFUNCTIONCALL = 1,
2320     FB_RTERROR_FILENOTFOUND = 2,   2320     FB_RTERROR_FILENOTFOUND = 2,
2321     FB_RTERROR_FILEIO = 3,   2321     FB_RTERROR_FILEIO = 3,
2322     FB_RTERROR_OUTOFMEM = 4,   2322     FB_RTERROR_OUTOFMEM = 4,
2323     FB_RTERROR_ILLEGALRESUME = 5,   2323     FB_RTERROR_ILLEGALRESUME = 5,
2324     FB_RTERROR_OUTOFBOUNDS = 6,   2324     FB_RTERROR_OUTOFBOUNDS = 6,
2325     FB_RTERROR_NULLPTR = 7,   2325     FB_RTERROR_NULLPTR = 7,
2326     FB_RTERROR_NOPRIVILEDGES = 8,   2326     FB_RTERROR_NOPRIVILEDGES = 8,
2327     FB_RTERROR_SIGINT = 9,   2327     FB_RTERROR_SIGINT = 9,
2328     FB_RTERROR_SIGILL = 10,   2328     FB_RTERROR_SIGILL = 10,
2329     FB_RTERROR_SIGFPE = 11,   2329     FB_RTERROR_SIGFPE = 11,
2330     FB_RTERROR_SIGSEGV = 12,   2330     FB_RTERROR_SIGSEGV = 12,
2331     FB_RTERROR_SIGTERM = 13,   2331     FB_RTERROR_SIGTERM = 13,
2332     FB_RTERROR_SIGABRT = 14,   2332     FB_RTERROR_SIGABRT = 14,
2333     FB_RTERROR_SIGQUIT = 15,   2333     FB_RTERROR_SIGQUIT = 15,
2334     FB_RTERROR_RETURNWITHOUTGOSUB = 16,   2334     FB_RTERROR_RETURNWITHOUTGOSUB = 16,
2335     FB_RTERROR_ENDOFFILE = 17,   2335     FB_RTERROR_ENDOFFILE = 17,
2336     FB_RTERROR_MAX = 18   2336     FB_RTERROR_MAX = 18
2337 } ;   2337 } ;
2338 typedef enum _FB_RTERROR FB_RTERROR;   2338 typedef enum _FB_RTERROR FB_RTERROR;
2339 typedef void (*FB_ERRHANDLER)(void);   2339 typedef void (*FB_ERRHANDLER)(void);
2340 struct _FB_ERRORCTX {   2340 struct _FB_ERRORCTX {
2341    void (*handler)(void) ;   2341    void (*handler)(void) ;
2342    int err_num ;   2342    int err_num ;
2343    int line_num ;   2343    int line_num ;
2344    char const   *mod_name ;   2344    char const   *mod_name ;
2345    char const   *fun_name ;   2345    char const   *fun_name ;
2346    void *res_lbl ;   2346    void *res_lbl ;
2347    void *resnxt_lbl ;   2347    void *resnxt_lbl ;
2348 };   2348 };
2349 typedef struct _FB_ERRORCTX FB_ERRORCTX;   2349 typedef struct _FB_ERRORCTX FB_ERRORCTX;
2350 struct _FBSTRING {   2350 struct _FBSTRING {
2351    char *data ;   2351    char *data ;
2352    int len ;   2352    int len ;
2353    int size ;   2353    int size ;
2354 };   2354 };
2355 typedef struct _FBSTRING FBSTRING;   2355 typedef struct _FBSTRING FBSTRING;
2356 struct _FB_STR_TMPDESC {   2356 struct _FB_STR_TMPDESC {
2357    FB_LISTELEM elem ;   2357    FB_LISTELEM elem ;
2358    FBSTRING desc ;   2358    FBSTRING desc ;
2359 };   2359 };
2360 typedef struct _FB_STR_TMPDESC FB_STR_TMPDESC;   2360 typedef struct _FB_STR_TMPDESC FB_STR_TMPDESC;
2361 struct _FBARRAYDIM {   2361 struct _FBARRAYDIM {
2362    int elements ;   2362    int elements ;
2363    int lbound ;   2363    int lbound ;
2364    int ubound ;   2364    int ubound ;
2365 };   2365 };
2366 typedef struct _FBARRAYDIM FBARRAYDIM;   2366 typedef struct _FBARRAYDIM FBARRAYDIM;
2367 struct _FBARRAY {   2367 struct _FBARRAY {
2368    void *data ;   2368    void *data ;
2369    void *ptr ;   2369    void *ptr ;
2370    int size ;   2370    int size ;
2371    int element_len ;   2371    int element_len ;
2372    int dimensions ;   2372    int dimensions ;
2373    FBARRAYDIM dimTB[1] ;   2373    FBARRAYDIM dimTB[1] ;
2374 };   2374 };
2375 typedef struct _FBARRAY FBARRAY;   2375 typedef struct _FBARRAY FBARRAY;
2376 struct _FB_ARRAY_TMPDESC {   2376 struct _FB_ARRAY_TMPDESC {
2377    FB_LISTELEM elem ;   2377    FB_LISTELEM elem ;
2378    FBARRAY array ;   2378    FBARRAY array ;
2379    FBARRAYDIM dimTB[7] ;   2379    FBARRAYDIM dimTB[7] ;
2380 };   2380 };
2381 typedef struct _FB_ARRAY_TMPDESC FB_ARRAY_TMPDESC;   2381 typedef struct _FB_ARRAY_TMPDESC FB_ARRAY_TMPDESC;
2382 typedef void (*FB_DEFCTOR)(void const   *this_ );   2382 typedef void (*FB_DEFCTOR)(void const   *this_ );
2383 typedef void (*FB_DTORMULT)(FBARRAY *array ,   2383 typedef void (*FB_DTORMULT)(FBARRAY *array ,
2384                             void (*dtor)(void const   *this_ ) , int base_idx );   2384                             void (*dtor)(void const   *this_ ) , int base_idx );
2385 union __anonunion____missing_field_name_147 {   2385 union __anonunion____missing_field_name_147 {
2386    char *zstr ;   2386    char *zstr ;
2387    wchar_t *wstr ;   2387    wchar_t *wstr ;
2388    void *ofs ;   2388    void *ofs ;
2389    struct _FB_DATADESC *next ;   2389    struct _FB_DATADESC *next ;
2390 };   2390 };
2391 struct _FB_DATADESC {   2391 struct _FB_DATADESC {
2392    short len ;   2392    short len ;
2393    union __anonunion____missing_field_name_147 __annonCompField3 ;   2393    union __anonunion____missing_field_name_147 __annonCompField3 ;
2394 } __attribute__((__packed__)) ;   2394 } __attribute__((__packed__)) ;
2395 typedef struct _FB_DATADESC FB_DATADESC;   2395 typedef struct _FB_DATADESC FB_DATADESC;
2396 struct _FB_PRINTUSGCTX {   2396 struct _FB_PRINTUSGCTX {
2397    int chars ;   2397    int chars ;
2398    char *ptr ;   2398    char *ptr ;
2399    FBSTRING fmtstr ;   2399    FBSTRING fmtstr ;
2400 };   2400 };
2401 typedef struct _FB_PRINTUSGCTX FB_PRINTUSGCTX;   2401 typedef struct _FB_PRINTUSGCTX FB_PRINTUSGCTX;
2402 struct _FB_FILE;   2402 struct _FB_FILE;
2403 struct _FB_FILE;   2403 struct _FB_FILE;
2404 enum _FB_FILE_ENCOD {   2404 enum _FB_FILE_ENCOD {
2405     FB_FILE_ENCOD_ASCII = 0,   2405     FB_FILE_ENCOD_ASCII = 0,
2406     FB_FILE_ENCOD_UTF8 = 1,   2406     FB_FILE_ENCOD_UTF8 = 1,
2407     FB_FILE_ENCOD_UTF16 = 2,   2407     FB_FILE_ENCOD_UTF16 = 2,
2408     FB_FILE_ENCOD_UTF32 = 3   2408     FB_FILE_ENCOD_UTF32 = 3
2409 } ;   2409 } ;
2410 typedef enum _FB_FILE_ENCOD FB_FILE_ENCOD;   2410 typedef enum _FB_FILE_ENCOD FB_FILE_ENCOD;
2411 struct _FB_FILE;   2411 struct _FB_FILE;
2412 typedef int (*FnFileSetWidth)(struct _FB_FILE *handle , int new_width );   2412 typedef int (*FnFileSetWidth)(struct _FB_FILE *handle , int new_width );
2413 typedef int (*FnFileTest)(struct _FB_FILE *handle , char const   *filename ,   2413 typedef int (*FnFileTest)(struct _FB_FILE *handle , char const   *filename ,
2414                           size_t filename_len );   2414                           size_t filename_len );
2415 typedef int (*FnFileOpen)(struct _FB_FILE *handle , char const   *filename ,   2415 typedef int (*FnFileOpen)(struct _FB_FILE *handle , char const   *filename ,
2416                           size_t filename_len );   2416                           size_t filename_len );
2417 typedef int (*FnFileEof)(struct _FB_FILE *handle );   2417 typedef int (*FnFileEof)(struct _FB_FILE *handle );
2418 typedef int (*FnFileClose)(struct _FB_FILE *handle );   2418 typedef int (*FnFileClose)(struct _FB_FILE *handle );
2419 typedef int (*FnFileSeek)(struct _FB_FILE *handle , fb_off_t offset ,   2419 typedef int (*FnFileSeek)(struct _FB_FILE *handle , fb_off_t offset ,
2420                           int whence );   2420                           int whence );
2421 typedef int (*FnFileTell)(struct _FB_FILE *handle , fb_off_t *pOffset );   2421 typedef int (*FnFileTell)(struct _FB_FILE *handle , fb_off_t *pOffset );
2422 typedef int (*FnFileRead)(struct _FB_FILE *handle , void *value ,   2422 typedef int (*FnFileRead)(struct _FB_FILE *handle , void *value ,
2423                           size_t *pValuelen );   2423                           size_t *pValuelen );
2424 typedef int (*FnFileReadWstr)(struct _FB_FILE *handle , wchar_t *value ,   2424 typedef int (*FnFileReadWstr)(struct _FB_FILE *handle , wchar_t *value ,
2425                               size_t *pValuelen );   2425                               size_t *pValuelen );
2426 typedef int (*FnFileWrite)(struct _FB_FILE *handle , void const   *value ,   2426 typedef int (*FnFileWrite)(struct _FB_FILE *handle , void const   *value ,
2427                            size_t valuelen );   2427                            size_t valuelen );
2428 typedef int (*FnFileWriteWstr)(struct _FB_FILE *handle ,   2428 typedef int (*FnFileWriteWstr)(struct _FB_FILE *handle ,
2429                                wchar_t const   *value , size_t valuelen );   2429                                wchar_t const   *value , size_t valuelen );
2430 typedef int (*FnFileLock)(struct _FB_FILE *handle , fb_off_t position ,   2430 typedef int (*FnFileLock)(struct _FB_FILE *handle , fb_off_t position ,
2431                           fb_off_t size );   2431                           fb_off_t size );
2432 typedef int (*FnFileUnlock)(struct _FB_FILE *handle , fb_off_t position ,   2432 typedef int (*FnFileUnlock)(struct _FB_FILE *handle , fb_off_t position ,
2433                             fb_off_t size );   2433                             fb_off_t size );
2434 typedef int (*FnFileReadLine)(struct _FB_FILE *handle , FBSTRING *dst );   2434 typedef int (*FnFileReadLine)(struct _FB_FILE *handle , FBSTRING *dst );
2435 typedef int (*FnFileReadLineWstr)(struct _FB_FILE *handle , wchar_t *dst ,   2435 typedef int (*FnFileReadLineWstr)(struct _FB_FILE *handle , wchar_t *dst ,
2436                                   int dst_chars );   2436                                   int dst_chars );
2437 typedef int (*FnFileFlush)(struct _FB_FILE *handle );   2437 typedef int (*FnFileFlush)(struct _FB_FILE *handle );
2438 struct _FB_FILE_HOOKS {   2438 struct _FB_FILE_HOOKS {
2439    int (*pfnEof)(struct _FB_FILE *handle ) ;   2439    int (*pfnEof)(struct _FB_FILE *handle ) ;
2440    int (*pfnClose)(struct _FB_FILE *handle ) ;   2440    int (*pfnClose)(struct _FB_FILE *handle ) ;
2441    int (*pfnSeek)(struct _FB_FILE *handle , fb_off_t offset , int whence ) ;   2441    int (*pfnSeek)(struct _FB_FILE *handle , fb_off_t offset , int whence ) ;
2442    int (*pfnTell)(struct _FB_FILE *handle , fb_off_t *pOffset ) ;   2442    int (*pfnTell)(struct _FB_FILE *handle , fb_off_t *pOffset ) ;
2443    int (*pfnRead)(struct _FB_FILE *handle , void *value , size_t *pValuelen ) ;   2443    int (*pfnRead)(struct _FB_FILE *handle , void *value , size_t *pValuelen ) ;
2444    int (*pfnReadWstr)(struct _FB_FILE *handle , wchar_t *value ,   2444    int (*pfnReadWstr)(struct _FB_FILE *handle , wchar_t *value ,
2445                       size_t *pValuelen ) ;   2445                       size_t *pValuelen ) ;
2446    int (*pfnWrite)(struct _FB_FILE *handle , void const   *value ,   2446    int (*pfnWrite)(struct _FB_FILE *handle , void const   *value ,
2447                    size_t valuelen ) ;   2447                    size_t valuelen ) ;
2448    int (*pfnWriteWstr)(struct _FB_FILE *handle , wchar_t const   *value ,   2448    int (*pfnWriteWstr)(struct _FB_FILE *handle , wchar_t const   *value ,
2449                        size_t valuelen ) ;   2449                        size_t valuelen ) ;
2450    int (*pfnLock)(struct _FB_FILE *handle , fb_off_t position , fb_off_t size ) ;   2450    int (*pfnLock)(struct _FB_FILE *handle , fb_off_t position , fb_off_t size ) ;
2451    int (*pfnUnlock)(struct _FB_FILE *handle , fb_off_t position , fb_off_t size ) ;   2451    int (*pfnUnlock)(struct _FB_FILE *handle , fb_off_t position , fb_off_t size ) ;
2452    int (*pfnReadLine)(struct _FB_FILE *handle , FBSTRING *dst ) ;   2452    int (*pfnReadLine)(struct _FB_FILE *handle , FBSTRING *dst ) ;
2453    int (*pfnReadLineWstr)(struct _FB_FILE *handle , wchar_t *dst ,   2453    int (*pfnReadLineWstr)(struct _FB_FILE *handle , wchar_t *dst ,
2454                           int dst_chars ) ;   2454                           int dst_chars ) ;
2455    int (*pfnSetWidth)(struct _FB_FILE *handle , int new_width ) ;   2455    int (*pfnSetWidth)(struct _FB_FILE *handle , int new_width ) ;
2456    int (*pfnFlush)(struct _FB_FILE *handle ) ;   2456    int (*pfnFlush)(struct _FB_FILE *handle ) ;
2457 };   2457 };
2458 typedef struct _FB_FILE_HOOKS FB_FILE_HOOKS;   2458 typedef struct _FB_FILE_HOOKS FB_FILE_HOOKS;
2459 struct _FB_FILE {   2459 struct _FB_FILE {
2460    int mode ;   2460    int mode ;
2461    int len ;   2461    int len ;
2462    FB_FILE_ENCOD encod ;   2462    FB_FILE_ENCOD encod ;
2463    fb_off_t size ;   2463    fb_off_t size ;
2464    int type ;   2464    int type ;
2465    int access ;   2465    int access ;
2466    int lock ;   2466    int lock ;
2467    unsigned int line_length ;   2467    unsigned int line_length ;
2468    unsigned int width ;   2468    unsigned int width ;
2469    char putback_buffer[4] ;   2469    char putback_buffer[4] ;
2470    size_t putback_size ;   2470    size_t putback_size ;
2471    FB_FILE_HOOKS *hooks ;   2471    FB_FILE_HOOKS *hooks ;
2472    void *opaque ;   2472    void *opaque ;
2473    struct _FB_FILE *redirection_to ;   2473    struct _FB_FILE *redirection_to ;
2474 };   2474 };
2475 typedef struct _FB_FILE FB_FILE;   2475 typedef struct _FB_FILE FB_FILE;
2476 struct _FB_INPUTCTX {   2476 struct _FB_INPUTCTX {
2477    FB_FILE *handle ;   2477    FB_FILE *handle ;
2478    int status ;   2478    int status ;
2479    FBSTRING str ;   2479    FBSTRING str ;
2480    int index ;   2480    int index ;
2481 };   2481 };
2482 typedef struct _FB_INPUTCTX FB_INPUTCTX;   2482 typedef struct _FB_INPUTCTX FB_INPUTCTX;
2483 typedef int (*FnDevOpenHook)(FBSTRING *filename , unsigned int open_mode ,   2483 typedef int (*FnDevOpenHook)(FBSTRING *filename , unsigned int open_mode ,
2484                              unsigned int access_mode , unsigned int lock_mode ,   2484                              unsigned int access_mode , unsigned int lock_mode ,
2485                              int rec_len , FnFileOpen *pfnFileOpen );   2485                              int rec_len , FnFileOpen *pfnFileOpen );
2486 typedef char *(*fb_FnDevReadString)(char *buffer , size_t count , FILE *fp );   2486 typedef char *(*fb_FnDevReadString)(char *buffer , size_t count , FILE *fp );
2487 struct _DEV_SCRN_INFO {   2487 struct _DEV_SCRN_INFO {
2488    char buffer[16] ;   2488    char buffer[16] ;
2489    unsigned int length ;   2489    unsigned int length ;
2490 };   2490 };
2491 typedef struct _DEV_SCRN_INFO DEV_SCRN_INFO;   2491 typedef struct _DEV_SCRN_INFO DEV_SCRN_INFO;
2492 enum _FB_SERIAL_PARITY {   2492 enum _FB_SERIAL_PARITY {
2493     FB_SERIAL_PARITY_NONE = 0,   2493     FB_SERIAL_PARITY_NONE = 0,
2494     FB_SERIAL_PARITY_EVEN = 1,   2494     FB_SERIAL_PARITY_EVEN = 1,
2495     FB_SERIAL_PARITY_ODD = 2,   2495     FB_SERIAL_PARITY_ODD = 2,
2496     FB_SERIAL_PARITY_SPACE = 3,   2496     FB_SERIAL_PARITY_SPACE = 3,
2497     FB_SERIAL_PARITY_MARK = 4   2497     FB_SERIAL_PARITY_MARK = 4
2498 } ;   2498 } ;
2499 typedef enum _FB_SERIAL_PARITY FB_SERIAL_PARITY;   2499 typedef enum _FB_SERIAL_PARITY FB_SERIAL_PARITY;
2500 enum _FB_SERIAL_STOP_BITS {   2500 enum _FB_SERIAL_STOP_BITS {
2501     FB_SERIAL_STOP_BITS_1 = 0,   2501     FB_SERIAL_STOP_BITS_1 = 0,
2502     FB_SERIAL_STOP_BITS_1_5 = 1,   2502     FB_SERIAL_STOP_BITS_1_5 = 1,
2503     FB_SERIAL_STOP_BITS_2 = 2   2503     FB_SERIAL_STOP_BITS_2 = 2
2504 } ;   2504 } ;
2505 typedef enum _FB_SERIAL_STOP_BITS FB_SERIAL_STOP_BITS;   2505 typedef enum _FB_SERIAL_STOP_BITS FB_SERIAL_STOP_BITS;
2506 struct _FB_SERIAL_OPTIONS {   2506 struct _FB_SERIAL_OPTIONS {
2507    unsigned int uiSpeed ;   2507    unsigned int uiSpeed ;
2508    unsigned int uiDataBits ;   2508    unsigned int uiDataBits ;
2509    FB_SERIAL_PARITY Parity ;   2509    FB_SERIAL_PARITY Parity ;
2510    FB_SERIAL_STOP_BITS StopBits ;   2510    FB_SERIAL_STOP_BITS StopBits ;
2511    unsigned int DurationCTS ;   2511    unsigned int DurationCTS ;
2512    unsigned int DurationDSR ;   2512    unsigned int DurationDSR ;
2513    unsigned int DurationCD ;   2513    unsigned int DurationCD ;
2514    unsigned int OpenTimeout ;   2514    unsigned int OpenTimeout ;
2515    int SuppressRTS ;   2515    int SuppressRTS ;
2516    int AddLF ;   2516    int AddLF ;
2517    int CheckParity ;   2517    int CheckParity ;
2518    int KeepDTREnabled ;   2518    int KeepDTREnabled ;
2519    int DiscardOnError ;   2519    int DiscardOnError ;
2520    int IgnoreAllErrors ;   2520    int IgnoreAllErrors ;
2521    unsigned int IRQNumber ;   2521    unsigned int IRQNumber ;
2522    unsigned int TransmitBuffer ;   2522    unsigned int TransmitBuffer ;
2523    unsigned int ReceiveBuffer ;   2523    unsigned int ReceiveBuffer ;
2524 };   2524 };
2525 typedef struct _FB_SERIAL_OPTIONS FB_SERIAL_OPTIONS;   2525 typedef struct _FB_SERIAL_OPTIONS FB_SERIAL_OPTIONS;
2526 struct _DEV_LPT_PROTOCOL {   2526 struct _DEV_LPT_PROTOCOL {
2527    char *proto ;   2527    char *proto ;
2528    int iPort ;   2528    int iPort ;
2529    char *name ;   2529    char *name ;
2530    char *title ;   2530    char *title ;
2531    char *emu ;   2531    char *emu ;
2532    char raw[] ;   2532    char raw[] ;
2533 };   2533 };
2534 typedef struct _DEV_LPT_PROTOCOL DEV_LPT_PROTOCOL;   2534 typedef struct _DEV_LPT_PROTOCOL DEV_LPT_PROTOCOL;
2535 struct _DEV_LPT_INFO {   2535 struct _DEV_LPT_INFO {
2536    void *driver_opaque ;   2536    void *driver_opaque ;
2537    char *pszDevice ;   2537    char *pszDevice ;
2538    int iPort ;   2538    int iPort ;
2539    size_t uiRefCount ;   2539    size_t uiRefCount ;
2540 };   2540 };
2541 typedef struct _DEV_LPT_INFO DEV_LPT_INFO;   2541 typedef struct _DEV_LPT_INFO DEV_LPT_INFO;
2542 enum _eFbIntlIndex {   2542 enum _eFbIntlIndex {
2543     eFIL_DateDivider = 0,   2543     eFIL_DateDivider = 0,
2544     eFIL_TimeDivider = 1,   2544     eFIL_TimeDivider = 1,
2545     eFIL_NumDecimalPoint = 2,   2545     eFIL_NumDecimalPoint = 2,
2546     eFIL_NumThousandsSeparator = 3   2546     eFIL_NumThousandsSeparator = 3
2547 } ;   2547 } ;
2548 typedef enum _eFbIntlIndex eFbIntlIndex;   2548 typedef enum _eFbIntlIndex eFbIntlIndex;
2549 typedef void (*FB_THREADPROC)(void *param );   2549 typedef void (*FB_THREADPROC)(void *param );
2550 struct _FBTHREAD {   2550 struct _FBTHREAD {
2551    pthread_t id ;   2551    pthread_t id ;
2552    void (*proc)(void *param ) ;   2552    void (*proc)(void *param ) ;
2553    void *param ;   2553    void *param ;
2554    void *opaque ;   2554    void *opaque ;
2555 };   2555 };
2556 typedef struct _FBTHREAD FBTHREAD;   2556 typedef struct _FBTHREAD FBTHREAD;
2557 struct _FBMUTEX;   2557 struct _FBMUTEX;
2558 struct _FBCOND;   2558 struct _FBCOND;
2559 struct _FBCOND;   2559 struct _FBCOND;
2560 enum __anonenum_148 {   2560 enum __anonenum_148 {
2561     FB_TLSKEY_ERROR = 0,   2561     FB_TLSKEY_ERROR = 0,
2562     FB_TLSKEY_DIR = 1,   2562     FB_TLSKEY_DIR = 1,
2563     FB_TLSKEY_INPUT = 2,   2563     FB_TLSKEY_INPUT = 2,
2564     FB_TLSKEY_PRINTUSG = 3,   2564     FB_TLSKEY_PRINTUSG = 3,
2565     FB_TLSKEY_GFX = 4,   2565     FB_TLSKEY_GFX = 4,
2566     FB_TLSKEYS = 5   2566     FB_TLSKEYS = 5
2567 } ;   2567 } ;
2568 enum __anonenum_149 {   2568 enum __anonenum_149 {
2569     FB_TLSLEN_ERROR = 28,   2569     FB_TLSLEN_ERROR = 28,
2570     FB_TLSLEN_DIR = 2060,   2570     FB_TLSLEN_DIR = 2060,
2571     FB_TLSLEN_INPUT = 24,   2571     FB_TLSLEN_INPUT = 24,
2572     FB_TLSLEN_PRINTUSG = 20   2572     FB_TLSLEN_PRINTUSG = 20
2573 } ;   2573 } ;
2574 typedef FBSTRING *(*FB_INKEYPROC)(void);   2574 typedef FBSTRING *(*FB_INKEYPROC)(void);
2575 typedef int (*FB_GETKEYPROC)(void);   2575 typedef int (*FB_GETKEYPROC)(void);
2576 typedef int (*FB_KEYHITPROC)(void);   2576 typedef int (*FB_KEYHITPROC)(void);
2577 typedef void (*FB_CLSPROC)(int mode );   2577 typedef void (*FB_CLSPROC)(int mode );
2578 typedef int (*FB_COLORPROC)(int fc , int bc , int flags );   2578 typedef int (*FB_COLORPROC)(int fc , int bc , int flags );
2579 typedef int (*FB_LOCATEPROC)(int row , int col , int cursor );   2579 typedef int (*FB_LOCATEPROC)(int row , int col , int cursor );
2580 typedef void (*FB_VIEWUPDATEPROC)(void);   2580 typedef void (*FB_VIEWUPDATEPROC)(void);
2581 typedef int (*FB_WIDTHPROC)(int cols , int rows );   2581 typedef int (*FB_WIDTHPROC)(int cols , int rows );
2582 typedef int (*FB_GETXPROC)(void);   2582 typedef int (*FB_GETXPROC)(void);
2583 typedef int (*FB_GETYPROC)(void);   2583 typedef int (*FB_GETYPROC)(void);
2584 typedef void (*FB_GETXYPROC)(int *col , int *row );   2584 typedef void (*FB_GETXYPROC)(int *col , int *row );
2585 typedef void (*FB_GETSIZEPROC)(int *cols , int *rows );   2585 typedef void (*FB_GETSIZEPROC)(int *cols , int *rows );
2586 typedef unsigned int (*FB_READXYPROC)(int col , int row , int colorflag );   2586 typedef unsigned int (*FB_READXYPROC)(int col , int row , int colorflag );
2587 typedef void (*FB_PRINTBUFFPROC)(void const   *buffer , size_t len , int mask );   2587 typedef void (*FB_PRINTBUFFPROC)(void const   *buffer , size_t len , int mask );
2588 typedef void (*FB_PRINTBUFFWPROC)(wchar_t const   *buffer , size_t len ,   2588 typedef void (*FB_PRINTBUFFWPROC)(wchar_t const   *buffer , size_t len ,
2589                                   int mask );   2589                                   int mask );
2590 typedef char *(*FB_READSTRPROC)(char *buffer , int len );   2590 typedef char *(*FB_READSTRPROC)(char *buffer , int len );
2591 typedef int (*FB_LINEINPUTPROC)(FBSTRING *text , void *dst , int dst_len ,   2591 typedef int (*FB_LINEINPUTPROC)(FBSTRING *text , void *dst , int dst_len ,
2592                                 int fillrem , int addquestion , int addnewline );   2592                                 int fillrem , int addquestion , int addnewline );
2593 typedef int (*FB_LINEINPUTWPROC)(wchar_t const   *text , wchar_t *dst ,   2593 typedef int (*FB_LINEINPUTWPROC)(wchar_t const   *text , wchar_t *dst ,
2594                                  int max_chars , int addquestion ,   2594                                  int max_chars , int addquestion ,
2595                                  int addnewline );   2595                                  int addnewline );
2596 typedef int (*FB_MULTIKEYPROC)(int scancode );   2596 typedef int (*FB_MULTIKEYPROC)(int scancode );
2597 typedef int (*FB_GETMOUSEPROC)(int *x , int *y , int *z , int *buttons_ ,   2597 typedef int (*FB_GETMOUSEPROC)(int *x , int *y , int *z , int *buttons_ ,
2598                                int *clip );   2598                                int *clip );
2599 typedef int (*FB_SETMOUSEPROC)(int x , int y , int cursor , int clip );   2599 typedef int (*FB_SETMOUSEPROC)(int x , int y , int cursor , int clip );
2600 typedef int (*FB_INPROC)(unsigned short port );   2600 typedef int (*FB_INPROC)(unsigned short port );
2601 typedef int (*FB_OUTPROC)(unsigned short port , unsigned char value );   2601 typedef int (*FB_OUTPROC)(unsigned short port , unsigned char value );
2602 typedef void (*FB_SLEEPPROC)(int msecs );   2602 typedef void (*FB_SLEEPPROC)(int msecs );
2603 typedef int (*FB_ISREDIRPROC)(int is_input );   2603 typedef int (*FB_ISREDIRPROC)(int is_input );
2604 typedef int (*FB_PAGECOPYPROC)(int src , int dst );   2604 typedef int (*FB_PAGECOPYPROC)(int src , int dst );
2605 typedef int (*FB_PAGESETPROC)(int active , int visible );   2605 typedef int (*FB_PAGESETPROC)(int active , int visible );
2606 struct FB_HOOKSTB {   2606 struct FB_HOOKSTB {
2607    FBSTRING *(*inkeyproc)(void) ;   2607    FBSTRING *(*inkeyproc)(void) ;
2608    int (*getkeyproc)(void) ;   2608    int (*getkeyproc)(void) ;
2609    int (*keyhitproc)(void) ;   2609    int (*keyhitproc)(void) ;
2610    void (*clsproc)(int mode ) ;   2610    void (*clsproc)(int mode ) ;
2611    int (*colorproc)(int fc , int bc , int flags ) ;   2611    int (*colorproc)(int fc , int bc , int flags ) ;
2612    int (*locateproc)(int row , int col , int cursor ) ;   2612    int (*locateproc)(int row , int col , int cursor ) ;
2613    int (*widthproc)(int cols , int rows ) ;   2613    int (*widthproc)(int cols , int rows ) ;
2614    int (*getxproc)(void) ;   2614    int (*getxproc)(void) ;
2615    int (*getyproc)(void) ;   2615    int (*getyproc)(void) ;
2616    void (*getxyproc)(int *col , int *row ) ;   2616    void (*getxyproc)(int *col , int *row ) ;
2617    void (*getsizeproc)(int *cols , int *rows ) ;   2617    void (*getsizeproc)(int *cols , int *rows ) ;
2618    void (*printbuffproc)(void const   *buffer , size_t len , int mask ) ;   2618    void (*printbuffproc)(void const   *buffer , size_t len , int mask ) ;
2619    void (*printbuffwproc)(wchar_t const   *buffer , size_t len , int mask ) ;   2619    void (*printbuffwproc)(wchar_t const   *buffer , size_t len , int mask ) ;
2620    char *(*readstrproc)(char *buffer , int len ) ;   2620    char *(*readstrproc)(char *buffer , int len ) ;
2621    int (*multikeyproc)(int scancode ) ;   2621    int (*multikeyproc)(int scancode ) ;
2622    int (*getmouseproc)(int *x , int *y , int *z , int *buttons_ , int *clip ) ;   2622    int (*getmouseproc)(int *x , int *y , int *z , int *buttons_ , int *clip ) ;
2623    int (*setmouseproc)(int x , int y , int cursor , int clip ) ;   2623    int (*setmouseproc)(int x , int y , int cursor , int clip ) ;
2624    int (*inproc)(unsigned short port ) ;   2624    int (*inproc)(unsigned short port ) ;
2625    int (*outproc)(unsigned short port , unsigned char value ) ;   2625    int (*outproc)(unsigned short port , unsigned char value ) ;
2626    void (*viewupdateproc)(void) ;   2626    void (*viewupdateproc)(void) ;
2627    int (*lineinputproc)(FBSTRING *text , void *dst , int dst_len , int fillrem ,   2627    int (*lineinputproc)(FBSTRING *text , void *dst , int dst_len , int fillrem ,
2628                         int addquestion , int addnewline ) ;   2628                         int addquestion , int addnewline ) ;
2629    int (*lineinputwproc)(wchar_t const   *text , wchar_t *dst , int max_chars ,   2629    int (*lineinputwproc)(wchar_t const   *text , wchar_t *dst , int max_chars ,
2630                          int addquestion , int addnewline ) ;   2630                          int addquestion , int addnewline ) ;
2631    unsigned int (*readxyproc)(int col , int row , int colorflag ) ;   2631    unsigned int (*readxyproc)(int col , int row , int colorflag ) ;
2632    void (*sleepproc)(int msecs ) ;   2632    void (*sleepproc)(int msecs ) ;
2633    int (*isredirproc)(int is_input ) ;   2633    int (*isredirproc)(int is_input ) ;
2634    int (*pagecopyproc)(int src , int dst ) ;   2634    int (*pagecopyproc)(int src , int dst ) ;
2635    int (*pagesetproc)(int active , int visible ) ;   2635    int (*pagesetproc)(int active , int visible ) ;
2636 };   2636 };
2637 typedef struct FB_HOOKSTB FB_HOOKSTB;   2637 typedef struct FB_HOOKSTB FB_HOOKSTB;
2638 enum FB_LANG {   2638 enum FB_LANG {
2639     FB_LANG_FB = 0,   2639     FB_LANG_FB = 0,
2640     FB_LANG_FB_DEPRECATED = 1,   2640     FB_LANG_FB_DEPRECATED = 1,
2641     FB_LANG_FB_FBLITE = 2,   2641     FB_LANG_FB_FBLITE = 2,
2642     FB_LANG_QB = 3,   2642     FB_LANG_QB = 3,
2643     FB_LANGS = 4   2643     FB_LANGS = 4
2644 } ;   2644 } ;
2645 struct FB_RTLIB_CTX_ {   2645 struct FB_RTLIB_CTX_ {
2646    int argc ;   2646    int argc ;
2647    char **argv ;   2647    char **argv ;
2648    FBSTRING null_desc ;   2648    FBSTRING null_desc ;
2649    char *error_msg ;   2649    char *error_msg ;
2650    int (*pfnDevOpenHook)(FBSTRING *filename , unsigned int open_mode ,   2650    int (*pfnDevOpenHook)(FBSTRING *filename , unsigned int open_mode ,
2651                          unsigned int access_mode , unsigned int lock_mode ,   2651                          unsigned int access_mode , unsigned int lock_mode ,
2652                          int rec_len , FnFileOpen *pfnFileOpen ) ;   2652                          int rec_len , FnFileOpen *pfnFileOpen ) ;
2653    FB_HOOKSTB hooks ;   2653    FB_HOOKSTB hooks ;
2654    pthread_key_t tls_ctxtb[5] ;   2654    pthread_key_t tls_ctxtb[5] ;
2655    FB_FILE fileTB[257] ;   2655    FB_FILE fileTB[257] ;
2656    int do_file_reset ;   2656    int do_file_reset ;
2657    int lang ;   2657    int lang ;
2658 };   2658 };
2659 typedef struct FB_RTLIB_CTX_ FB_RTLIB_CTX;   2659 typedef struct FB_RTLIB_CTX_ FB_RTLIB_CTX;
2660 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;   2660 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
2661 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   2661 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
2662 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   2662 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
2663 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   2663 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
2664 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   2664 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
2665 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,   2665 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,
2666                                                                                       char ** __restrict  __endptr ) ;   2666                                                                                       char ** __restrict  __endptr ) ;
2667 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,   2667 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,
2668                                                                                      char ** __restrict  __endptr ) ;   2668                                                                                      char ** __restrict  __endptr ) ;
2669 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,   2669 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,
2670                                                                                             char ** __restrict  __endptr ) ;   2670                                                                                             char ** __restrict  __endptr ) ;
2671 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,   2671 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,
2672                                                                                     char ** __restrict  __endptr ,   2672                                                                                     char ** __restrict  __endptr ,
2673                                                                                     int __base ) ;   2673                                                                                     int __base ) ;
2674 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,   2674 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,
2675                                                                                               char ** __restrict  __endptr ,   2675                                                                                               char ** __restrict  __endptr ,
2676                                                                                               int __base ) ;   2676                                                                                               int __base ) ;
2677 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,   2677 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,
2678                                                                                          char ** __restrict  __endptr ,   2678                                                                                          char ** __restrict  __endptr ,
2679                                                                                          int __base ) ;   2679                                                                                          int __base ) ;
2680 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,   2680 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,
2681                                                                                                    char ** __restrict  __endptr ,   2681                                                                                                    char ** __restrict  __endptr ,
2682                                                                                                    int __base ) ;   2682                                                                                                    int __base ) ;
2683 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,   2683 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,
2684                                                                                           char ** __restrict  __endptr ,   2684                                                                                           char ** __restrict  __endptr ,
2685                                                                                           int __base ) ;   2685                                                                                           int __base ) ;
2686 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,   2686 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,
2687                                                                                                     char ** __restrict  __endptr ,   2687                                                                                                     char ** __restrict  __endptr ,
2688                                                                                                     int __base ) ;   2688                                                                                                     int __base ) ;
2689 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   2689 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
2690 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )   2690 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )
2691 {   2691 {
2692   double tmp ;   2692   double tmp ;
2693     2693  
2694   {   2694   {
2695   tmp = strtod((char const   */* __restrict  */)__nptr,   2695   tmp = strtod((char const   */* __restrict  */)__nptr,
2696                (char **/* __restrict  */)((char **)((void *)0)));   2696                (char **/* __restrict  */)((char **)((void *)0)));
2697   return (tmp);   2697   return (tmp);
2698 }   2698 }
2699 }   2699 }
2700 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   2700 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
2701 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )   2701 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )
2702 {   2702 {
2703   long tmp ;   2703   long tmp ;
2704     2704  
2705   {   2705   {
2706   tmp = strtol((char const   */* __restrict  */)__nptr,   2706   tmp = strtol((char const   */* __restrict  */)__nptr,
2707                (char **/* __restrict  */)((char **)((void *)0)), 10);   2707                (char **/* __restrict  */)((char **)((void *)0)), 10);
2708   return ((int )tmp);   2708   return ((int )tmp);
2709 }   2709 }
2710 }   2710 }
2711 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   2711 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
2712 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )   2712 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )
2713 {   2713 {
2714   long tmp ;   2714   long tmp ;
2715     2715  
2716   {   2716   {
2717   tmp = strtol((char const   */* __restrict  */)__nptr,   2717   tmp = strtol((char const   */* __restrict  */)__nptr,
2718                (char **/* __restrict  */)((char **)((void *)0)), 10);   2718                (char **/* __restrict  */)((char **)((void *)0)), 10);
2719   return (tmp);   2719   return (tmp);
2720 }   2720 }
2721 }   2721 }
2722 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   2722 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
2723 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )   2723 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )
2724 {   2724 {
2725   long long tmp ;   2725   long long tmp ;
2726     2726  
2727   {   2727   {
2728   tmp = strtoll((char const   */* __restrict  */)__nptr,   2728   tmp = strtoll((char const   */* __restrict  */)__nptr,
2729                 (char **/* __restrict  */)((char **)((void *)0)), 10);   2729                 (char **/* __restrict  */)((char **)((void *)0)), 10);
2730   return (tmp);   2730   return (tmp);
2731 }   2731 }
2732 }   2732 }
2733 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;   2733 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
2734 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;   2734 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;
2735 extern int select(int __nfds , fd_set * __restrict  __readfds ,   2735 extern int select(int __nfds , fd_set * __restrict  __readfds ,
2736                   fd_set * __restrict  __writefds ,   2736                   fd_set * __restrict  __writefds ,
2737                   fd_set * __restrict  __exceptfds ,   2737                   fd_set * __restrict  __exceptfds ,
2738                   struct timeval * __restrict  __timeout ) ;   2738                   struct timeval * __restrict  __timeout ) ;
2739 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,   2739 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,
2740                    fd_set * __restrict  __writefds ,   2740                    fd_set * __restrict  __writefds ,
2741                    fd_set * __restrict  __exceptfds ,   2741                    fd_set * __restrict  __exceptfds ,
2742                    struct timespec  const  * __restrict  __timeout ,   2742                    struct timespec  const  * __restrict  __timeout ,
2743                    __sigset_t const   * __restrict  __sigmask ) ;   2743                    __sigset_t const   * __restrict  __sigmask ) ;
2744 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   2744 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
2745 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   2745 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
2746 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   2746 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
2747                                                                                  unsigned int __minor ) ;   2747                                                                                  unsigned int __minor ) ;
2748 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   2748 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
2749 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )   2749 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )
2750 {   2750 {
2751     2751  
2752     2752  
2753   {   2753   {
2754   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));   2754   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
2755 }   2755 }
2756 }   2756 }
2757 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   2757 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
2758 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )   2758 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )
2759 {   2759 {
2760     2760  
2761     2761  
2762   {   2762   {
2763   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));   2763   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
2764 }   2764 }
2765 }   2765 }
2766 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   2766 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
2767                                                                                  unsigned int __minor ) ;   2767                                                                                  unsigned int __minor ) ;
2768 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,   2768 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,
2769                                                    unsigned int __minor )   2769                                                    unsigned int __minor )
2770 {   2770 {
2771     2771  
2772     2772  
2773   {   2773   {
2774   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));   2774   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));
2775 }   2775 }
2776 }   2776 }
2777 extern  __attribute__((__nothrow__)) long random(void) ;   2777 extern  __attribute__((__nothrow__)) long random(void) ;
2778 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;   2778 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
2779 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,   2779 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,
2780                                                                                         char *__statebuf ,   2780                                                                                         char *__statebuf ,
2781                                                                                         size_t __statelen ) ;   2781                                                                                         size_t __statelen ) ;
2782 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;   2782 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;
2783 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,   2783 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,
2784                                                                                        int32_t * __restrict  __result ) ;   2784                                                                                        int32_t * __restrict  __result ) ;
2785 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,   2785 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,
2786                                                                                       struct random_data *__buf ) ;   2786                                                                                       struct random_data *__buf ) ;
2787 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,   2787 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,
2788                                                                                           char * __restrict  __statebuf ,   2788                                                                                           char * __restrict  __statebuf ,
2789                                                                                           size_t __statelen ,   2789                                                                                           size_t __statelen ,
2790                                                                                           struct random_data * __restrict  __buf ) ;   2790                                                                                           struct random_data * __restrict  __buf ) ;
2791 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,   2791 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,
2792                                                                                          struct random_data * __restrict  __buf ) ;   2792                                                                                          struct random_data * __restrict  __buf ) ;
2793 extern  __attribute__((__nothrow__)) int rand(void) ;   2793 extern  __attribute__((__nothrow__)) int rand(void) ;
2794 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;   2794 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
2795 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;   2795 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
2796 extern  __attribute__((__nothrow__)) double drand48(void) ;   2796 extern  __attribute__((__nothrow__)) double drand48(void) ;
2797 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;   2797 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;
2798 extern  __attribute__((__nothrow__)) long lrand48(void) ;   2798 extern  __attribute__((__nothrow__)) long lrand48(void) ;
2799 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;   2799 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;
2800 extern  __attribute__((__nothrow__)) long mrand48(void) ;   2800 extern  __attribute__((__nothrow__)) long mrand48(void) ;
2801 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;   2801 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;
2802 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;   2802 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
2803 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;   2803 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;
2804 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;   2804 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;
2805 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,   2805 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,
2806                                                                                         double * __restrict  __result ) ;   2806                                                                                         double * __restrict  __result ) ;
2807 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,   2807 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,
2808                                                                                         struct drand48_data * __restrict  __buffer ,   2808                                                                                         struct drand48_data * __restrict  __buffer ,
2809                                                                                         double * __restrict  __result ) ;   2809                                                                                         double * __restrict  __result ) ;
2810 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,   2810 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,
2811                                                                                         long * __restrict  __result ) ;   2811                                                                                         long * __restrict  __result ) ;
2812 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,   2812 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,
2813                                                                                         struct drand48_data * __restrict  __buffer ,   2813                                                                                         struct drand48_data * __restrict  __buffer ,
2814                                                                                         long * __restrict  __result ) ;   2814                                                                                         long * __restrict  __result ) ;
2815 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,   2815 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,
2816                                                                                         long * __restrict  __result ) ;   2816                                                                                         long * __restrict  __result ) ;
2817 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,   2817 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,
2818                                                                                         struct drand48_data * __restrict  __buffer ,   2818                                                                                         struct drand48_data * __restrict  __buffer ,
2819                                                                                         long * __restrict  __result ) ;   2819                                                                                         long * __restrict  __result ) ;
2820 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,   2820 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,
2821                                                                                       struct drand48_data *__buffer ) ;   2821                                                                                       struct drand48_data *__buffer ) ;
2822 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,   2822 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,
2823                                                                                        struct drand48_data *__buffer ) ;   2823                                                                                        struct drand48_data *__buffer ) ;
2824 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,   2824 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,
2825                                                                                         struct drand48_data *__buffer ) ;   2825                                                                                         struct drand48_data *__buffer ) ;
2826 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;   2826 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
2827 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,   2827 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,
2828                                                   size_t __size )  __attribute__((__malloc__)) ;   2828                                                   size_t __size )  __attribute__((__malloc__)) ;
2829 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,   2829 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,
2830                                                                                               size_t __size ) ;   2830                                                                                               size_t __size ) ;
2831 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;   2831 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
2832 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;   2832 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
2833 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;   2833 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
2834 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;   2834 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
2835 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,   2835 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,
2836                                                                                            size_t __alignment ,   2836                                                                                            size_t __alignment ,
2837                                                                                            size_t __size ) ;   2837                                                                                            size_t __size ) ;
2838 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;   2838 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
2839 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;   2839 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;
2840 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,   2840 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,
2841                                                                                                    void *__arg ) ,   2841                                                                                                    void *__arg ) ,
2842                                                                                     void *__arg ) ;   2842                                                                                     void *__arg ) ;
2843 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;   2843 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
2844 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;   2844 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
2845 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;   2845 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;
2846 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;   2846 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;
2847 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;   2847 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;
2848 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,   2848 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,
2849                                                                                    char const   *__value ,   2849                                                                                    char const   *__value ,
2850                                                                                    int __replace ) ;   2850                                                                                    int __replace ) ;
2851 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;   2851 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;
2852 extern  __attribute__((__nothrow__)) int clearenv(void) ;   2852 extern  __attribute__((__nothrow__)) int clearenv(void) ;
2853 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;   2853 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;
2854 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;   2854 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;
2855 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,   2855 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,
2856                                                        int __suffixlen )  __asm__("mkstemps64")  ;   2856                                                        int __suffixlen )  __asm__("mkstemps64")  ;
2857 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;   2857 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;
2858 extern int system(char const   *__command ) ;   2858 extern int system(char const   *__command ) ;
2859 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,   2859 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,
2860                                                     char * __restrict  __resolved ) ;   2860                                                     char * __restrict  __resolved ) ;
2861 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,   2861 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,
2862                                                             void const   *__base ,   2862                                                             void const   *__base ,
2863                                                             size_t __nmemb ,   2863                                                             size_t __nmemb ,
2864                                                             size_t __size ,   2864                                                             size_t __size ,
2865                                                             int (*__compar)(void const   * ,   2865                                                             int (*__compar)(void const   * ,
2866                                                                             void const   * ) ) ;   2866                                                                             void const   * ) ) ;
2867 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,   2867 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,
2868                                                        size_t __nmemb ,   2868                                                        size_t __nmemb ,
2869                                                        size_t __size ,   2869                                                        size_t __size ,
2870                                                        int (*__compar)(void const   * ,   2870                                                        int (*__compar)(void const   * ,
2871                                                                        void const   * ) ) ;   2871                                                                        void const   * ) ) ;
2872 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;   2872 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
2873 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;   2873 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
2874 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;   2874 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
2875 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;   2875 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
2876 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;   2876 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
2877 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,   2877 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,
2878                                                    long long __denom )  __attribute__((__const__)) ;   2878                                                    long long __denom )  __attribute__((__const__)) ;
2879 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,   2879 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,
2880                                                                                      int __ndigit ,   2880                                                                                      int __ndigit ,
2881                                                                                      int * __restrict  __decpt ,   2881                                                                                      int * __restrict  __decpt ,
2882                                                                                      int * __restrict  __sign ) ;   2882                                                                                      int * __restrict  __sign ) ;
2883 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,   2883 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,
2884                                                                                      int __ndigit ,   2884                                                                                      int __ndigit ,
2885                                                                                      int * __restrict  __decpt ,   2885                                                                                      int * __restrict  __decpt ,
2886                                                                                      int * __restrict  __sign ) ;   2886                                                                                      int * __restrict  __sign ) ;
2887 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,   2887 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,
2888                                                                                    int __ndigit ,   2888                                                                                    int __ndigit ,
2889                                                                                    char *__buf ) ;   2889                                                                                    char *__buf ) ;
2890 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,   2890 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,
2891                                                                                       int __ndigit ,   2891                                                                                       int __ndigit ,
2892                                                                                       int * __restrict  __decpt ,   2892                                                                                       int * __restrict  __decpt ,
2893                                                                                       int * __restrict  __sign ) ;   2893                                                                                       int * __restrict  __sign ) ;
2894 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,   2894 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,
2895                                                                                       int __ndigit ,   2895                                                                                       int __ndigit ,
2896                                                                                       int * __restrict  __decpt ,   2896                                                                                       int * __restrict  __decpt ,
2897                                                                                       int * __restrict  __sign ) ;   2897                                                                                       int * __restrict  __sign ) ;
2898 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,   2898 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,
2899                                                                                     int __ndigit ,   2899                                                                                     int __ndigit ,
2900                                                                                     char *__buf ) ;   2900                                                                                     char *__buf ) ;
2901 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,   2901 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,
2902                                                                                        int __ndigit ,   2902                                                                                        int __ndigit ,
2903                                                                                        int * __restrict  __decpt ,   2903                                                                                        int * __restrict  __decpt ,
2904                                                                                        int * __restrict  __sign ,   2904                                                                                        int * __restrict  __sign ,
2905                                                                                        char * __restrict  __buf ,   2905                                                                                        char * __restrict  __buf ,
2906                                                                                        size_t __len ) ;   2906                                                                                        size_t __len ) ;
2907 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,   2907 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,
2908                                                                                        int __ndigit ,   2908                                                                                        int __ndigit ,
2909                                                                                        int * __restrict  __decpt ,   2909                                                                                        int * __restrict  __decpt ,
2910                                                                                        int * __restrict  __sign ,   2910                                                                                        int * __restrict  __sign ,
2911                                                                                        char * __restrict  __buf ,   2911                                                                                        char * __restrict  __buf ,
2912                                                                                        size_t __len ) ;   2912                                                                                        size_t __len ) ;
2913 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,   2913 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,
2914                                                                                         int __ndigit ,   2914                                                                                         int __ndigit ,
2915                                                                                         int * __restrict  __decpt ,   2915                                                                                         int * __restrict  __decpt ,
2916                                                                                         int * __restrict  __sign ,   2916                                                                                         int * __restrict  __sign ,
2917                                                                                         char * __restrict  __buf ,   2917                                                                                         char * __restrict  __buf ,
2918                                                                                         size_t __len ) ;   2918                                                                                         size_t __len ) ;
2919 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,   2919 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,
2920                                                                                         int __ndigit ,   2920                                                                                         int __ndigit ,
2921                                                                                         int * __restrict  __decpt ,   2921                                                                                         int * __restrict  __decpt ,
2922                                                                                         int * __restrict  __sign ,   2922                                                                                         int * __restrict  __sign ,
2923                                                                                         char * __restrict  __buf ,   2923                                                                                         char * __restrict  __buf ,
2924                                                                                         size_t __len ) ;   2924                                                                                         size_t __len ) ;
2925 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;   2925 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
2926 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,   2926 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,
2927                                                 char const   * __restrict  __s ,   2927                                                 char const   * __restrict  __s ,
2928                                                 size_t __n ) ;   2928                                                 size_t __n ) ;
2929 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;   2929 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
2930 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,   2930 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,
2931                                                      char const   * __restrict  __s ,   2931                                                      char const   * __restrict  __s ,
2932                                                      size_t __n ) ;   2932                                                      size_t __n ) ;
2933 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,   2933 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,
2934                                                      wchar_t const   * __restrict  __pwcs ,   2934                                                      wchar_t const   * __restrict  __pwcs ,
2935                                                      size_t __n ) ;   2935                                                      size_t __n ) ;
2936 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;   2936 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;
2937 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,   2937 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,
2938                                                                                           char * const  * __restrict  __tokens ,   2938                                                                                           char * const  * __restrict  __tokens ,
2939                                                                                           char ** __restrict  __valuep ) ;   2939                                                                                           char ** __restrict  __valuep ) ;
2940 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,   2940 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,
2941                                                                                        int __nelem ) ;   2941                                                                                        int __nelem ) ;
2942 extern int fcntl(int __fd , int __cmd  , ...) ;   2942 extern int fcntl(int __fd , int __cmd  , ...) ;
2943 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,   2943 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,
2944                                                    int __oflag  , ...)  __asm__("open64")  ;   2944                                                    int __oflag  , ...)  __asm__("open64")  ;
2945 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,   2945 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,
2946                                                      char const   *__file ,   2946                                                      char const   *__file ,
2947                                                      int __oflag  , ...)  __asm__("openat64")  ;   2947                                                      int __oflag  , ...)  __asm__("openat64")  ;
2948 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,   2948 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,
2949                                                     __mode_t __mode )  __asm__("creat64")  ;   2949                                                     __mode_t __mode )  __asm__("creat64")  ;
2950 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;   2950 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;
2951 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,   2951 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,
2952                                                        __off64_t __offset ,   2952                                                        __off64_t __offset ,
2953                                                        __off64_t __len ,   2953                                                        __off64_t __len ,
2954                                                        int __advise )  __asm__("posix_fadvise64")  ;   2954                                                        int __advise )  __asm__("posix_fadvise64")  ;
2955 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;   2955 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;
2956 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;   2956 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
2957 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;   2957 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
2958 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;   2958 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
2959 extern int __underflow(_IO_FILE * ) ;   2959 extern int __underflow(_IO_FILE * ) ;
2960 extern int __uflow(_IO_FILE * ) ;   2960 extern int __uflow(_IO_FILE * ) ;
2961 extern int __overflow(_IO_FILE * , int  ) ;   2961 extern int __overflow(_IO_FILE * , int  ) ;
2962 extern int _IO_getc(_IO_FILE *__fp ) ;   2962 extern int _IO_getc(_IO_FILE *__fp ) ;
2963 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;   2963 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
2964 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;   2964 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
2965 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;   2965 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
2966 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;   2966 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
2967 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;   2967 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
2968 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;   2968 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
2969 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;   2969 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
2970 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,   2970 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,
2971                        __gnuc_va_list  , int * __restrict   ) ;   2971                        __gnuc_va_list  , int * __restrict   ) ;
2972 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,   2972 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,
2973                         __gnuc_va_list  ) ;   2973                         __gnuc_va_list  ) ;
2974 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;   2974 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
2975 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;   2975 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
2976 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;   2976 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
2977 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;   2977 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
2978 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;   2978 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
2979 extern struct _IO_FILE *stdin ;   2979 extern struct _IO_FILE *stdin ;
2980 extern struct _IO_FILE *stdout ;   2980 extern struct _IO_FILE *stdout ;
2981 extern struct _IO_FILE *stderr ;   2981 extern struct _IO_FILE *stderr ;
2982 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;   2982 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
2983 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,   2983 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,
2984                                                 char const   *__new ) ;   2984                                                 char const   *__new ) ;
2985 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,   2985 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,
2986                                                   char const   *__old ,   2986                                                   char const   *__old ,
2987                                                   int __newfd ,   2987                                                   int __newfd ,
2988                                                   char const   *__new ) ;   2988                                                   char const   *__new ) ;
2989 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;   2989 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;
2990 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;   2990 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
2991 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;   2991 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
2992 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,   2992 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,
2993                                                    char const   *__pfx )  __attribute__((__malloc__)) ;   2993                                                    char const   *__pfx )  __attribute__((__malloc__)) ;
2994 extern int fclose(FILE *__stream ) ;   2994 extern int fclose(FILE *__stream ) ;
2995 extern int fflush(FILE *__stream ) ;   2995 extern int fflush(FILE *__stream ) ;
2996 extern int fflush_unlocked(FILE *__stream ) ;   2996 extern int fflush_unlocked(FILE *__stream ) ;
2997 extern FILE *fopen(char const   * __restrict  __filename ,   2997 extern FILE *fopen(char const   * __restrict  __filename ,
2998                    char const   * __restrict  __modes )  __asm__("fopen64")  ;   2998                    char const   * __restrict  __modes )  __asm__("fopen64")  ;
2999 extern FILE *freopen(char const   * __restrict  __filename ,   2999 extern FILE *freopen(char const   * __restrict  __filename ,
3000                      char const   * __restrict  __modes ,   3000                      char const   * __restrict  __modes ,
3001                      FILE * __restrict  __stream )  __asm__("freopen64")  ;   3001                      FILE * __restrict  __stream )  __asm__("freopen64")  ;
3002 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,   3002 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,
3003                                                   char const   *__modes ) ;   3003                                                   char const   *__modes ) ;
3004 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,   3004 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,
3005                                                     char const   *__modes ) ;   3005                                                     char const   *__modes ) ;
3006 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,   3006 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,
3007                                                           size_t *__sizeloc ) ;   3007                                                           size_t *__sizeloc ) ;
3008 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,   3008 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,
3009                                                  char * __restrict  __buf ) ;   3009                                                  char * __restrict  __buf ) ;
3010 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,   3010 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,
3011                                                  char * __restrict  __buf ,   3011                                                  char * __restrict  __buf ,
3012                                                  int __modes , size_t __n ) ;   3012                                                  int __modes , size_t __n ) ;
3013 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,   3013 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,
3014                                                     char * __restrict  __buf ,   3014                                                     char * __restrict  __buf ,
3015                                                     size_t __size ) ;   3015                                                     size_t __size ) ;
3016 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;   3016 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
3017 extern int fprintf(FILE * __restrict  __stream ,   3017 extern int fprintf(FILE * __restrict  __stream ,
3018                    char const   * __restrict  __format  , ...) ;   3018                    char const   * __restrict  __format  , ...) ;
3019 extern int printf(char const   * __restrict  __format  , ...) ;   3019 extern int printf(char const   * __restrict  __format  , ...) ;
3020 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,   3020 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,
3021                                                  char const   * __restrict  __format   3021                                                  char const   * __restrict  __format
3022                                                  , ...) ;   3022                                                  , ...) ;
3023 extern int vfprintf(FILE * __restrict  __s ,   3023 extern int vfprintf(FILE * __restrict  __s ,
3024                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;   3024                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;
3025 __inline extern int vprintf(char const   * __restrict  __fmt ,   3025 __inline extern int vprintf(char const   * __restrict  __fmt ,
3026                             __gnuc_va_list __arg ) ;   3026                             __gnuc_va_list __arg ) ;
3027 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,   3027 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,
3028                                                   char const   * __restrict  __format ,   3028                                                   char const   * __restrict  __format ,
3029                                                   __gnuc_va_list __arg ) ;   3029                                                   __gnuc_va_list __arg ) ;
3030 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,   3030 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,
3031                                                                              size_t __maxlen ,   3031                                                                              size_t __maxlen ,
3032                                                                              char const   * __restrict  __format   3032                                                                              char const   * __restrict  __format
3033                                                                              , ...) ;   3033                                                                              , ...) ;
3034 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,   3034 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,
3035                                                                               size_t __maxlen ,   3035                                                                               size_t __maxlen ,
3036                                                                               char const   * __restrict  __format ,   3036                                                                               char const   * __restrict  __format ,
3037                                                                               __gnuc_va_list __arg ) ;   3037                                                                               __gnuc_va_list __arg ) ;
3038 extern int ( /* format attribute */  vdprintf)(int __fd ,   3038 extern int ( /* format attribute */  vdprintf)(int __fd ,
3039                                                char const   * __restrict  __fmt ,   3039                                                char const   * __restrict  __fmt ,
3040                                                __gnuc_va_list __arg ) ;   3040                                                __gnuc_va_list __arg ) ;
3041 extern int ( /* format attribute */  dprintf)(int __fd ,   3041 extern int ( /* format attribute */  dprintf)(int __fd ,
3042                                               char const   * __restrict  __fmt   3042                                               char const   * __restrict  __fmt
3043                                               , ...) ;   3043                                               , ...) ;
3044 extern int fscanf(FILE * __restrict  __stream ,   3044 extern int fscanf(FILE * __restrict  __stream ,
3045                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;   3045                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
3046 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;   3046 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
3047 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,   3047 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,
3048                                                 char const   * __restrict  __format   3048                                                 char const   * __restrict  __format
3049                                                 , ...)  __asm__("__isoc99_sscanf")  ;   3049                                                 , ...)  __asm__("__isoc99_sscanf")  ;
3050 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,   3050 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,
3051                                               char const   * __restrict  __format ,   3051                                               char const   * __restrict  __format ,
3052                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;   3052                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
3053 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,   3053 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,
3054                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;   3054                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
3055 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,   3055 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,
3056                                                                             char const   * __restrict  __format ,   3056                                                                             char const   * __restrict  __format ,
3057                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;   3057                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
3058 extern int fgetc(FILE *__stream ) ;   3058 extern int fgetc(FILE *__stream ) ;
3059 extern int getc(FILE *__stream ) ;   3059 extern int getc(FILE *__stream ) ;
3060 __inline extern int getchar(void) ;   3060 __inline extern int getchar(void) ;
3061 __inline extern int getc_unlocked(FILE *__fp ) ;   3061 __inline extern int getc_unlocked(FILE *__fp ) ;
3062 __inline extern int getchar_unlocked(void) ;   3062 __inline extern int getchar_unlocked(void) ;
3063 __inline extern int fgetc_unlocked(FILE *__fp ) ;   3063 __inline extern int fgetc_unlocked(FILE *__fp ) ;
3064 extern int fputc(int __c , FILE *__stream ) ;   3064 extern int fputc(int __c , FILE *__stream ) ;
3065 extern int putc(int __c , FILE *__stream ) ;   3065 extern int putc(int __c , FILE *__stream ) ;
3066 __inline extern int putchar(int __c ) ;   3066 __inline extern int putchar(int __c ) ;
3067 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;   3067 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;
3068 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;   3068 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;
3069 __inline extern int putchar_unlocked(int __c ) ;   3069 __inline extern int putchar_unlocked(int __c ) ;
3070 extern int getw(FILE *__stream ) ;   3070 extern int getw(FILE *__stream ) ;
3071 extern int putw(int __w , FILE *__stream ) ;   3071 extern int putw(int __w , FILE *__stream ) ;
3072 extern char *fgets(char * __restrict  __s , int __n ,   3072 extern char *fgets(char * __restrict  __s , int __n ,
3073                    FILE * __restrict  __stream ) ;   3073                    FILE * __restrict  __stream ) ;
3074 extern char *gets(char *__s ) ;   3074 extern char *gets(char *__s ) ;
3075 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,   3075 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,
3076                             size_t * __restrict  __n , int __delimiter ,   3076                             size_t * __restrict  __n , int __delimiter ,
3077                             FILE * __restrict  __stream ) ;   3077                             FILE * __restrict  __stream ) ;
3078 extern __ssize_t getdelim(char ** __restrict  __lineptr ,   3078 extern __ssize_t getdelim(char ** __restrict  __lineptr ,
3079                           size_t * __restrict  __n , int __delimiter ,   3079                           size_t * __restrict  __n , int __delimiter ,
3080                           FILE * __restrict  __stream ) ;   3080                           FILE * __restrict  __stream ) ;
3081 extern __ssize_t getline(char ** __restrict  __lineptr ,   3081 extern __ssize_t getline(char ** __restrict  __lineptr ,
3082                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;   3082                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;
3083 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;   3083 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
3084 extern int puts(char const   *__s ) ;   3084 extern int puts(char const   *__s ) ;
3085 extern int ungetc(int __c , FILE *__stream ) ;   3085 extern int ungetc(int __c , FILE *__stream ) ;
3086 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,   3086 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,
3087                     FILE * __restrict  __stream ) ;   3087                     FILE * __restrict  __stream ) ;
3088 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,   3088 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,
3089                      size_t __n , FILE * __restrict  __s ) ;   3089                      size_t __n , FILE * __restrict  __s ) ;
3090 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,   3090 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,
3091                              size_t __n , FILE * __restrict  __stream ) ;   3091                              size_t __n , FILE * __restrict  __stream ) ;
3092 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,   3092 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,
3093                               size_t __n , FILE * __restrict  __stream ) ;   3093                               size_t __n , FILE * __restrict  __stream ) ;
3094 extern int fseek(FILE *__stream , long __off , int __whence ) ;   3094 extern int fseek(FILE *__stream , long __off , int __whence ) ;
3095 extern long ftell(FILE *__stream ) ;   3095 extern long ftell(FILE *__stream ) ;
3096 extern void rewind(FILE *__stream ) ;   3096 extern void rewind(FILE *__stream ) ;
3097 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;   3097 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;
3098 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;   3098 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;
3099 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;   3099 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;
3100 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;   3100 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;
3101 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;   3101 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
3102 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;   3102 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
3103 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;   3103 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
3104 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;   3104 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
3105 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   3105 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
3106 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   3106 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
3107 extern void perror(char const   *__s ) ;   3107 extern void perror(char const   *__s ) ;
3108 extern int sys_nerr ;   3108 extern int sys_nerr ;
3109 extern char const   * const  sys_errlist[] ;   3109 extern char const   * const  sys_errlist[] ;
3110 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;   3110 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
3111 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;   3111 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
3112 extern FILE *popen(char const   *__command , char const   *__modes ) ;   3112 extern FILE *popen(char const   *__command , char const   *__modes ) ;
3113 extern int pclose(FILE *__stream ) ;   3113 extern int pclose(FILE *__stream ) ;
3114 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;   3114 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
3115 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;   3115 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
3116 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;   3116 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
3117 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;   3117 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
3118 __inline extern int vprintf(char const   * __restrict  __fmt ,   3118 __inline extern int vprintf(char const   * __restrict  __fmt ,
3119                             __gnuc_va_list __arg )   3119                             __gnuc_va_list __arg )
3120 {   3120 {
3121   int tmp ;   3121   int tmp ;
3122     3122  
3123   {   3123   {
3124   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);   3124   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
3125   return (tmp);   3125   return (tmp);
3126 }   3126 }
3127 }   3127 }
3128 __inline extern int getchar(void)   3128 __inline extern int getchar(void)
3129 {   3129 {
3130   int tmp ;   3130   int tmp ;
3131     3131  
3132   {   3132   {
3133   tmp = _IO_getc(stdin);   3133   tmp = _IO_getc(stdin);
3134   return (tmp);   3134   return (tmp);
3135 }   3135 }
3136 }   3136 }
3137 __inline extern int fgetc_unlocked(FILE *__fp )   3137 __inline extern int fgetc_unlocked(FILE *__fp )
3138 {   3138 {
3139   long tmp ;   3139   long tmp ;
3140   int tmp___0 ;   3140   int tmp___0 ;
3141   char *tmp___1 ;   3141   char *tmp___1 ;
3142   int tmp___2 ;   3142   int tmp___2 ;
3143   long tmp___3 ;   3143   long tmp___3 ;
3144     3144  
3145   {   3145   {
3146   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   3146   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
3147                              0L);   3147                              0L);
3148   if (tmp___3) {   3148   if (tmp___3) {
3149     tmp___0 = __uflow(__fp);   3149     tmp___0 = __uflow(__fp);
3150     tmp___2 = tmp___0;   3150     tmp___2 = tmp___0;
3151   } else {   3151   } else {
3152     tmp___1 = __fp->_IO_read_ptr;   3152     tmp___1 = __fp->_IO_read_ptr;
3153     (__fp->_IO_read_ptr) ++;   3153     (__fp->_IO_read_ptr) ++;
3154     tmp___2 = (int )*((unsigned char *)tmp___1);   3154     tmp___2 = (int )*((unsigned char *)tmp___1);
3155   }   3155   }
3156   return (tmp___2);   3156   return (tmp___2);
3157 }   3157 }
3158 }   3158 }
3159 __inline extern int getc_unlocked(FILE *__fp )   3159 __inline extern int getc_unlocked(FILE *__fp )
3160 {   3160 {
3161   long tmp ;   3161   long tmp ;
3162   int tmp___0 ;   3162   int tmp___0 ;
3163   char *tmp___1 ;   3163   char *tmp___1 ;
3164   int tmp___2 ;   3164   int tmp___2 ;
3165   long tmp___3 ;   3165   long tmp___3 ;
3166     3166  
3167   {   3167   {
3168   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   3168   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
3169                              0L);   3169                              0L);
3170   if (tmp___3) {   3170   if (tmp___3) {
3171     tmp___0 = __uflow(__fp);   3171     tmp___0 = __uflow(__fp);
3172     tmp___2 = tmp___0;   3172     tmp___2 = tmp___0;
3173   } else {   3173   } else {
3174     tmp___1 = __fp->_IO_read_ptr;   3174     tmp___1 = __fp->_IO_read_ptr;
3175     (__fp->_IO_read_ptr) ++;   3175     (__fp->_IO_read_ptr) ++;
3176     tmp___2 = (int )*((unsigned char *)tmp___1);   3176     tmp___2 = (int )*((unsigned char *)tmp___1);
3177   }   3177   }
3178   return (tmp___2);   3178   return (tmp___2);
3179 }   3179 }
3180 }   3180 }
3181 __inline extern int getchar_unlocked(void)   3181 __inline extern int getchar_unlocked(void)
3182 {   3182 {
3183   long tmp ;   3183   long tmp ;
3184   int tmp___0 ;   3184   int tmp___0 ;
3185   char *tmp___1 ;   3185   char *tmp___1 ;
3186   int tmp___2 ;   3186   int tmp___2 ;
3187   long tmp___3 ;   3187   long tmp___3 ;
3188     3188  
3189   {   3189   {
3190   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),   3190   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),
3191                              0L);   3191                              0L);
3192   if (tmp___3) {   3192   if (tmp___3) {
3193     tmp___0 = __uflow(stdin);   3193     tmp___0 = __uflow(stdin);
3194     tmp___2 = tmp___0;   3194     tmp___2 = tmp___0;
3195   } else {   3195   } else {
3196     tmp___1 = stdin->_IO_read_ptr;   3196     tmp___1 = stdin->_IO_read_ptr;
3197     (stdin->_IO_read_ptr) ++;   3197     (stdin->_IO_read_ptr) ++;
3198     tmp___2 = (int )*((unsigned char *)tmp___1);   3198     tmp___2 = (int )*((unsigned char *)tmp___1);
3199   }   3199   }
3200   return (tmp___2);   3200   return (tmp___2);
3201 }   3201 }
3202 }   3202 }
3203 __inline extern int putchar(int __c )   3203 __inline extern int putchar(int __c )
3204 {   3204 {
3205   int tmp ;   3205   int tmp ;
3206     3206  
3207   {   3207   {
3208   tmp = _IO_putc(__c, stdout);   3208   tmp = _IO_putc(__c, stdout);
3209   return (tmp);   3209   return (tmp);
3210 }   3210 }
3211 }   3211 }
3212 __inline extern int fputc_unlocked(int __c , FILE *__stream )   3212 __inline extern int fputc_unlocked(int __c , FILE *__stream )
3213 {   3213 {
3214   long tmp ;   3214   long tmp ;
3215   int tmp___0 ;   3215   int tmp___0 ;
3216   char *tmp___1 ;   3216   char *tmp___1 ;
3217   char tmp___2 ;   3217   char tmp___2 ;
3218   int tmp___3 ;   3218   int tmp___3 ;
3219   long tmp___4 ;   3219   long tmp___4 ;
3220     3220  
3221   {   3221   {
3222   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   3222   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
3223                              0L);   3223                              0L);
3224   if (tmp___4) {   3224   if (tmp___4) {
3225     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   3225     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
3226     tmp___3 = tmp___0;   3226     tmp___3 = tmp___0;
3227   } else {   3227   } else {
3228     tmp___1 = __stream->_IO_write_ptr;   3228     tmp___1 = __stream->_IO_write_ptr;
3229     (__stream->_IO_write_ptr) ++;   3229     (__stream->_IO_write_ptr) ++;
3230     tmp___2 = (char )__c;   3230     tmp___2 = (char )__c;
3231     *tmp___1 = tmp___2;   3231     *tmp___1 = tmp___2;
3232     tmp___3 = (int )((unsigned char )tmp___2);   3232     tmp___3 = (int )((unsigned char )tmp___2);
3233   }   3233   }
3234   return (tmp___3);   3234   return (tmp___3);
3235 }   3235 }
3236 }   3236 }
3237 __inline extern int putc_unlocked(int __c , FILE *__stream )   3237 __inline extern int putc_unlocked(int __c , FILE *__stream )
3238 {   3238 {
3239   long tmp ;   3239   long tmp ;
3240   int tmp___0 ;   3240   int tmp___0 ;
3241   char *tmp___1 ;   3241   char *tmp___1 ;
3242   char tmp___2 ;   3242   char tmp___2 ;
3243   int tmp___3 ;   3243   int tmp___3 ;
3244   long tmp___4 ;   3244   long tmp___4 ;
3245     3245  
3246   {   3246   {
3247   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   3247   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
3248                              0L);   3248                              0L);
3249   if (tmp___4) {   3249   if (tmp___4) {
3250     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   3250     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
3251     tmp___3 = tmp___0;   3251     tmp___3 = tmp___0;
3252   } else {   3252   } else {
3253     tmp___1 = __stream->_IO_write_ptr;   3253     tmp___1 = __stream->_IO_write_ptr;
3254     (__stream->_IO_write_ptr) ++;   3254     (__stream->_IO_write_ptr) ++;
3255     tmp___2 = (char )__c;   3255     tmp___2 = (char )__c;
3256     *tmp___1 = tmp___2;   3256     *tmp___1 = tmp___2;
3257     tmp___3 = (int )((unsigned char )tmp___2);   3257     tmp___3 = (int )((unsigned char )tmp___2);
3258   }   3258   }
3259   return (tmp___3);   3259   return (tmp___3);
3260 }   3260 }
3261 }   3261 }
3262 __inline extern int putchar_unlocked(int __c )   3262 __inline extern int putchar_unlocked(int __c )
3263 {   3263 {
3264   long tmp ;   3264   long tmp ;
3265   int tmp___0 ;   3265   int tmp___0 ;
3266   char *tmp___1 ;   3266   char *tmp___1 ;
3267   char tmp___2 ;   3267   char tmp___2 ;
3268   int tmp___3 ;   3268   int tmp___3 ;
3269   long tmp___4 ;   3269   long tmp___4 ;
3270     3270  
3271   {   3271   {
3272   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),   3272   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),
3273                              0L);   3273                              0L);
3274   if (tmp___4) {   3274   if (tmp___4) {
3275     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));   3275     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
3276     tmp___3 = tmp___0;   3276     tmp___3 = tmp___0;
3277   } else {   3277   } else {
3278     tmp___1 = stdout->_IO_write_ptr;   3278     tmp___1 = stdout->_IO_write_ptr;
3279     (stdout->_IO_write_ptr) ++;   3279     (stdout->_IO_write_ptr) ++;
3280     tmp___2 = (char )__c;   3280     tmp___2 = (char )__c;
3281     *tmp___1 = tmp___2;   3281     *tmp___1 = tmp___2;
3282     tmp___3 = (int )((unsigned char )tmp___2);   3282     tmp___3 = (int )((unsigned char )tmp___2);
3283   }   3283   }
3284   return (tmp___3);   3284   return (tmp___3);
3285 }   3285 }
3286 }   3286 }
3287 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   3287 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
3288 __inline extern int feof_unlocked(FILE *__stream )   3288 __inline extern int feof_unlocked(FILE *__stream )
3289 {   3289 {
3290     3290  
3291     3291  
3292   {   3292   {
3293   return ((__stream->_flags & 16) != 0);   3293   return ((__stream->_flags & 16) != 0);
3294 }   3294 }
3295 }   3295 }
3296 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   3296 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
3297 __inline extern int ferror_unlocked(FILE *__stream )   3297 __inline extern int ferror_unlocked(FILE *__stream )
3298 {   3298 {
3299     3299  
3300     3300  
3301   {   3301   {
3302   return ((__stream->_flags & 32) != 0);   3302   return ((__stream->_flags & 32) != 0);
3303 }   3303 }
3304 }   3304 }
3305 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,   3305 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,
3306                                                                                    int __type ) ;   3306                                                                                    int __type ) ;
3307 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,   3307 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,
3308                                                                                       char const   *__file ,   3308                                                                                       char const   *__file ,
3309                                                                                       int __type ,   3309                                                                                       int __type ,
3310                                                                                       int __flag ) ;   3310                                                                                       int __flag ) ;
3311 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,   3311 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,
3312                                                      __off64_t __offset ,   3312                                                      __off64_t __offset ,
3313                                                      int __whence )  __asm__("lseek64")  ;   3313                                                      int __whence )  __asm__("lseek64")  ;
3314 extern int close(int __fd ) ;   3314 extern int close(int __fd ) ;
3315 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;   3315 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;
3316 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;   3316 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;
3317 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,   3317 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,
3318                      __off64_t __offset )  __asm__("pread64")  ;   3318                      __off64_t __offset )  __asm__("pread64")  ;
3319 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,   3319 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,
3320                       __off64_t __offset )  __asm__("pwrite64")  ;   3320                       __off64_t __offset )  __asm__("pwrite64")  ;
3321 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;   3321 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;
3322 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;   3322 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;
3323 extern unsigned int sleep(unsigned int __seconds ) ;   3323 extern unsigned int sleep(unsigned int __seconds ) ;
3324 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,   3324 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,
3325                                                          __useconds_t __interval ) ;   3325                                                          __useconds_t __interval ) ;
3326 extern int usleep(__useconds_t __useconds ) ;   3326 extern int usleep(__useconds_t __useconds ) ;
3327 extern int pause(void) ;   3327 extern int pause(void) ;
3328 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,   3328 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,
3329                                                                                   __uid_t __owner ,   3329                                                                                   __uid_t __owner ,
3330                                                                                   __gid_t __group ) ;   3330                                                                                   __gid_t __group ) ;
3331 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,   3331 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,
3332                                                 __gid_t __group ) ;   3332                                                 __gid_t __group ) ;
3333 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,   3333 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,
3334                                                                                    __uid_t __owner ,   3334                                                                                    __uid_t __owner ,
3335                                                                                    __gid_t __group ) ;   3335                                                                                    __gid_t __group ) ;
3336 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,   3336 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,
3337                                                                                      char const   *__file ,   3337                                                                                      char const   *__file ,
3338                                                                                      __uid_t __owner ,   3338                                                                                      __uid_t __owner ,
3339                                                                                      __gid_t __group ,   3339                                                                                      __gid_t __group ,
3340                                                                                      int __flag ) ;   3340                                                                                      int __flag ) ;
3341 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;   3341 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;
3342 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;   3342 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;
3343 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;   3343 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;
3344 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;   3344 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;
3345 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;   3345 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;
3346 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;   3346 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;
3347 extern char **__environ ;   3347 extern char **__environ ;
3348 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,   3348 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,
3349                                                                                      char * const  *__argv ,   3349                                                                                      char * const  *__argv ,
3350                                                                                      char * const  *__envp ) ;   3350                                                                                      char * const  *__envp ) ;
3351 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,   3351 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,
3352                                                                                     char * const  *__argv ,   3352                                                                                     char * const  *__argv ,
3353                                                                                     char * const  *__envp ) ;   3353                                                                                     char * const  *__envp ) ;
3354 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,   3354 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,
3355                                                                                     char * const  *__argv ) ;   3355                                                                                     char * const  *__argv ) ;
3356 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,   3356 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,
3357                                                                                      char const   *__arg   3357                                                                                      char const   *__arg
3358                                                                                      , ...) ;   3358                                                                                      , ...) ;
3359 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,   3359 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,
3360                                                                                     char const   *__arg   3360                                                                                     char const   *__arg
3361                                                                                     , ...) ;   3361                                                                                     , ...) ;
3362 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,   3362 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,
3363                                                                                      char * const  *__argv ) ;   3363                                                                                      char * const  *__argv ) ;
3364 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,   3364 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,
3365                                                                                      char const   *__arg   3365                                                                                      char const   *__arg
3366                                                                                      , ...) ;   3366                                                                                      , ...) ;
3367 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;   3367 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;
3368 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;   3368 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;
3369 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,   3369 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,
3370                                                                                       int __name ) ;   3370                                                                                       int __name ) ;
3371 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;   3371 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;
3372 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;   3372 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;
3373 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,   3373 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,
3374                                                     size_t __len ) ;   3374                                                     size_t __len ) ;
3375 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;   3375 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;
3376 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;   3376 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;
3377 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;   3377 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;
3378 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;   3378 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;
3379 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;   3379 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;
3380 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;   3380 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;
3381 extern  __attribute__((__nothrow__)) int setpgrp(void) ;   3381 extern  __attribute__((__nothrow__)) int setpgrp(void) ;
3382 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;   3382 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;
3383 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;   3383 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;
3384 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;   3384 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;
3385 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;   3385 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;
3386 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;   3386 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;
3387 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;   3387 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;
3388 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;   3388 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;
3389 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;   3389 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;
3390 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,   3390 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,
3391                                                   __uid_t __euid ) ;   3391                                                   __uid_t __euid ) ;
3392 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;   3392 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;
3393 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;   3393 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;
3394 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,   3394 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,
3395                                                   __gid_t __egid ) ;   3395                                                   __gid_t __egid ) ;
3396 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;   3396 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;
3397 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;   3397 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;
3398 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;   3398 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;
3399 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;   3399 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;
3400 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,   3400 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,
3401                                                                                       char *__buf ,   3401                                                                                       char *__buf ,
3402                                                                                       size_t __buflen ) ;   3402                                                                                       size_t __buflen ) ;
3403 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;   3403 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;
3404 extern  __attribute__((__nothrow__)) int ttyslot(void) ;   3404 extern  __attribute__((__nothrow__)) int ttyslot(void) ;
3405 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,   3405 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,
3406                                                                                    char const   *__to ) ;   3406                                                                                    char const   *__to ) ;
3407 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,   3407 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,
3408                                                                                      char const   *__from ,   3408                                                                                      char const   *__from ,
3409                                                                                      int __tofd ,   3409                                                                                      int __tofd ,
3410                                                                                      char const   *__to ,   3410                                                                                      char const   *__to ,
3411                                                                                      int __flags ) ;   3411                                                                                      int __flags ) ;
3412 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,   3412 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,
3413                                                                                       char const   *__to ) ;   3413                                                                                       char const   *__to ) ;
3414 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,   3414 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,
3415                                                                                            char * __restrict  __buf ,   3415                                                                                            char * __restrict  __buf ,
3416                                                                                            size_t __len ) ;   3416                                                                                            size_t __len ) ;
3417 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,   3417 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,
3418                                                                                         int __tofd ,   3418                                                                                         int __tofd ,
3419                                                                                         char const   *__to ) ;   3419                                                                                         char const   *__to ) ;
3420 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,   3420 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,
3421                                                                                              char const   * __restrict  __path ,   3421                                                                                              char const   * __restrict  __path ,
3422                                                                                              char * __restrict  __buf ,   3422                                                                                              char * __restrict  __buf ,
3423                                                                                              size_t __len ) ;   3423                                                                                              size_t __len ) ;
3424 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;   3424 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;
3425 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,   3425 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,
3426                                                                                      char const   *__name ,   3426                                                                                      char const   *__name ,
3427                                                                                      int __flag ) ;   3427                                                                                      int __flag ) ;
3428 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;   3428 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;
3429 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;   3429 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;
3430 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;   3430 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;
3431 extern char *getlogin(void) ;   3431 extern char *getlogin(void) ;
3432 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,   3432 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,
3433                                                          size_t __name_len ) ;   3433                                                          size_t __name_len ) ;
3434 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;   3434 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;
3435 extern char *optarg ;   3435 extern char *optarg ;
3436 extern int optind ;   3436 extern int optind ;
3437 extern int opterr ;   3437 extern int opterr ;
3438 extern int optopt ;   3438 extern int optopt ;
3439 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,   3439 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,
3440                                                 char * const  *___argv ,   3440                                                 char * const  *___argv ,
3441                                                 char const   *__shortopts ) ;   3441                                                 char const   *__shortopts ) ;
3442 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,   3442 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,
3443                                                                                         size_t __len ) ;   3443                                                                                         size_t __len ) ;
3444 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,   3444 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,
3445                                                                                         size_t __len ) ;   3445                                                                                         size_t __len ) ;
3446 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;   3446 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;
3447 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,   3447 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,
3448                                                                                           size_t __len ) ;   3448                                                                                           size_t __len ) ;
3449 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,   3449 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,
3450                                                                                           size_t __len ) ;   3450                                                                                           size_t __len ) ;
3451 extern  __attribute__((__nothrow__)) int vhangup(void) ;   3451 extern  __attribute__((__nothrow__)) int vhangup(void) ;
3452 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;   3452 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;
3453 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,   3453 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,
3454                                                                                    size_t __size ,   3454                                                                                    size_t __size ,
3455                                                                                    size_t __offset ,   3455                                                                                    size_t __offset ,
3456                                                                                    unsigned int __scale ) ;   3456                                                                                    unsigned int __scale ) ;
3457 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;   3457 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;
3458 extern  __attribute__((__nothrow__)) char *getusershell(void) ;   3458 extern  __attribute__((__nothrow__)) char *getusershell(void) ;
3459 extern  __attribute__((__nothrow__)) void endusershell(void) ;   3459 extern  __attribute__((__nothrow__)) void endusershell(void) ;
3460 extern  __attribute__((__nothrow__)) void setusershell(void) ;   3460 extern  __attribute__((__nothrow__)) void setusershell(void) ;
3461 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;   3461 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;
3462 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;   3462 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;
3463 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;   3463 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;
3464 extern int fsync(int __fd ) ;   3464 extern int fsync(int __fd ) ;
3465 extern long gethostid(void) ;   3465 extern long gethostid(void) ;
3466 extern  __attribute__((__nothrow__)) void sync(void) ;   3466 extern  __attribute__((__nothrow__)) void sync(void) ;
3467 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;   3467 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;
3468 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;   3468 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;
3469 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,   3469 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,
3470                                                                                      __off64_t __length )  __asm__("truncate64")  ;   3470                                                                                      __off64_t __length )  __asm__("truncate64")  ;
3471 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,   3471 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,
3472                                                    __off64_t __length )  __asm__("ftruncate64")  ;   3472                                                    __off64_t __length )  __asm__("ftruncate64")  ;
3473 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;   3473 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;
3474 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;   3474 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;
3475 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;   3475 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;
3476 extern int fdatasync(int __fildes ) ;   3476 extern int fdatasync(int __fildes ) ;
3477 __inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;   3477 __inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;
3478 __inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;   3478 __inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;
3479 __inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;   3479 __inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;
3480 __inline extern int __sigismember(__sigset_t const   *__set , int __sig )   3480 __inline extern int __sigismember(__sigset_t const   *__set , int __sig )
3481 {   3481 {
3482   unsigned long __mask ;   3482   unsigned long __mask ;
3483   unsigned long __word ;   3483   unsigned long __word ;
3484   int tmp ;   3484   int tmp ;
3485     3485  
3486   {   3486   {
3487   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   3487   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
3488   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   3488   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
3489   if (__set->__val[__word] & __mask) {   3489   if (__set->__val[__word] & __mask) {
3490     tmp = 1;   3490     tmp = 1;
3491   } else {   3491   } else {
3492     tmp = 0;   3492     tmp = 0;
3493   }   3493   }
3494   return (tmp);   3494   return (tmp);
3495 }   3495 }
3496 }   3496 }
3497 __inline extern int __sigaddset(__sigset_t *__set , int __sig )   3497 __inline extern int __sigaddset(__sigset_t *__set , int __sig )
3498 {   3498 {
3499   unsigned long __mask ;   3499   unsigned long __mask ;
3500   unsigned long __word ;   3500   unsigned long __word ;
3501     3501  
3502   {   3502   {
3503   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   3503   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
3504   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   3504   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
3505   __set->__val[__word] |= __mask;   3505   __set->__val[__word] |= __mask;
3506   return (0);   3506   return (0);
3507 }   3507 }
3508 }   3508 }
3509 __inline extern int __sigdelset(__sigset_t *__set , int __sig )   3509 __inline extern int __sigdelset(__sigset_t *__set , int __sig )
3510 {   3510 {
3511   unsigned long __mask ;   3511   unsigned long __mask ;
3512   unsigned long __word ;   3512   unsigned long __word ;
3513     3513  
3514   {   3514   {
3515   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   3515   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
3516   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   3516   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
3517   __set->__val[__word] &= ~ __mask;   3517   __set->__val[__word] &= ~ __mask;
3518   return (0);   3518   return (0);
3519 }   3519 }
3520 }   3520 }
3521 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,   3521 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,
3522                                                                   void (*__handler)(int  ) ) ;   3522                                                                   void (*__handler)(int  ) ) ;
3523 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,   3523 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,
3524                                                            void (*__handler)(int  ) ) ;   3524                                                            void (*__handler)(int  ) ) ;
3525 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;   3525 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;
3526 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;   3526 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;
3527 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;   3527 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;
3528 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,   3528 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,
3529                                                             void (*__handler)(int  ) ) ;   3529                                                             void (*__handler)(int  ) ) ;
3530 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;   3530 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;
3531 extern void psignal(int __sig , char const   *__s ) ;   3531 extern void psignal(int __sig , char const   *__s ) ;
3532 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;   3532 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;
3533 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;   3533 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;
3534 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;   3534 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;
3535 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;   3535 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;
3536 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;   3536 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;
3537 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;   3537 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;
3538 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;   3538 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;
3539 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,   3539 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,
3540                                                                                       int __signo ) ;   3540                                                                                       int __signo ) ;
3541 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,   3541 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,
3542                                                                                       int __signo ) ;   3542                                                                                       int __signo ) ;
3543 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,   3543 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,
3544                                                                                         int __signo ) ;   3544                                                                                         int __signo ) ;
3545 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,   3545 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,
3546                                                      sigset_t const   * __restrict  __set ,   3546                                                      sigset_t const   * __restrict  __set ,
3547                                                      sigset_t * __restrict  __oset ) ;   3547                                                      sigset_t * __restrict  __oset ) ;
3548 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;   3548 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;
3549 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,   3549 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,
3550                                                    struct sigaction  const  * __restrict  __act ,   3550                                                    struct sigaction  const  * __restrict  __act ,
3551                                                    struct sigaction * __restrict  __oact ) ;   3551                                                    struct sigaction * __restrict  __oact ) ;
3552 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;   3552 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;
3553 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,   3553 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,
3554                                                         int * __restrict  __sig ) ;   3554                                                         int * __restrict  __sig ) ;
3555 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,   3555 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,
3556                                                           siginfo_t * __restrict  __info ) ;   3556                                                           siginfo_t * __restrict  __info ) ;
3557 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,   3557 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,
3558                                                            siginfo_t * __restrict  __info ,   3558                                                            siginfo_t * __restrict  __info ,
3559                                                            struct timespec  const  * __restrict  __timeout ) ;   3559                                                            struct timespec  const  * __restrict  __timeout ) ;
3560 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,   3560 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,
3561                                                   union sigval  const  __val ) ;   3561                                                   union sigval  const  __val ) ;
3562 extern char const   * const  _sys_siglist[65] ;   3562 extern char const   * const  _sys_siglist[65] ;
3563 extern char const   * const  sys_siglist[65] ;   3563 extern char const   * const  sys_siglist[65] ;
3564 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,   3564 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,
3565                                                 struct sigvec  const  *__vec ,   3565                                                 struct sigvec  const  *__vec ,
3566                                                 struct sigvec *__ovec ) ;   3566                                                 struct sigvec *__ovec ) ;
3567 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;   3567 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;
3568 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,   3568 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,
3569                                                       int __interrupt ) ;   3569                                                       int __interrupt ) ;
3570 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,   3570 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,
3571                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;   3571                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;
3572 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,   3572 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,
3573                                                      struct sigaltstack * __restrict  __oss ) ;   3573                                                      struct sigaltstack * __restrict  __oss ) ;
3574 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,   3574 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,
3575                                                          __sigset_t const   * __restrict  __newmask ,   3575                                                          __sigset_t const   * __restrict  __newmask ,
3576                                                          __sigset_t * __restrict  __oldmask ) ;   3576                                                          __sigset_t * __restrict  __oldmask ) ;
3577 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,   3577 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,
3578                                                       int __signo ) ;   3578                                                       int __signo ) ;
3579 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;   3579 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;
3580 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;   3580 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;
3581 extern  __attribute__((__nothrow__)) speed_t cfgetospeed(struct termios  const  *__termios_p ) ;   3581 extern  __attribute__((__nothrow__)) speed_t cfgetospeed(struct termios  const  *__termios_p ) ;
3582 extern  __attribute__((__nothrow__)) speed_t cfgetispeed(struct termios  const  *__termios_p ) ;   3582 extern  __attribute__((__nothrow__)) speed_t cfgetispeed(struct termios  const  *__termios_p ) ;
3583 extern  __attribute__((__nothrow__)) int cfsetospeed(struct termios *__termios_p ,   3583 extern  __attribute__((__nothrow__)) int cfsetospeed(struct termios *__termios_p ,
3584                                                      speed_t __speed ) ;   3584                                                      speed_t __speed ) ;
3585 extern  __attribute__((__nothrow__)) int cfsetispeed(struct termios *__termios_p ,   3585 extern  __attribute__((__nothrow__)) int cfsetispeed(struct termios *__termios_p ,
3586                                                      speed_t __speed ) ;   3586                                                      speed_t __speed ) ;
3587 extern  __attribute__((__nothrow__)) int cfsetspeed(struct termios *__termios_p ,   3587 extern  __attribute__((__nothrow__)) int cfsetspeed(struct termios *__termios_p ,
3588                                                     speed_t __speed ) ;   3588                                                     speed_t __speed ) ;
3589 extern  __attribute__((__nothrow__)) int tcgetattr(int __fd ,   3589 extern  __attribute__((__nothrow__)) int tcgetattr(int __fd ,
3590                                                    struct termios *__termios_p ) ;   3590                                                    struct termios *__termios_p ) ;
3591 extern  __attribute__((__nothrow__)) int tcsetattr(int __fd ,   3591 extern  __attribute__((__nothrow__)) int tcsetattr(int __fd ,
3592                                                    int __optional_actions ,   3592                                                    int __optional_actions ,
3593                                                    struct termios  const  *__termios_p ) ;   3593                                                    struct termios  const  *__termios_p ) ;
3594 extern  __attribute__((__nothrow__)) void cfmakeraw(struct termios *__termios_p ) ;   3594 extern  __attribute__((__nothrow__)) void cfmakeraw(struct termios *__termios_p ) ;
3595 extern  __attribute__((__nothrow__)) int tcsendbreak(int __fd , int __duration ) ;   3595 extern  __attribute__((__nothrow__)) int tcsendbreak(int __fd , int __duration ) ;
3596 extern int tcdrain(int __fd ) ;   3596 extern int tcdrain(int __fd ) ;
3597 extern  __attribute__((__nothrow__)) int tcflush(int __fd ,   3597 extern  __attribute__((__nothrow__)) int tcflush(int __fd ,
3598                                                  int __queue_selector ) ;   3598                                                  int __queue_selector ) ;
3599 extern  __attribute__((__nothrow__)) int tcflow(int __fd , int __action ) ;   3599 extern  __attribute__((__nothrow__)) int tcflow(int __fd , int __action ) ;
3600 extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const   *__name ) ;   3600 extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const   *__name ) ;
3601 extern DIR *fdopendir(int __fd ) ;   3601 extern DIR *fdopendir(int __fd ) ;
3602 extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ;   3602 extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ;
3603 extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp )  __asm__("readdir64")  ;   3603 extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp )  __asm__("readdir64")  ;
3604 extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict  __dirp ,   3604 extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict  __dirp ,
3605                                                             struct dirent * __restrict  __entry ,   3605                                                             struct dirent * __restrict  __entry ,
3606                                                             struct dirent ** __restrict  __result )  __asm__("readdir64_r")  ;   3606                                                             struct dirent ** __restrict  __result )  __asm__("readdir64_r")  ;
3607 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ;   3607 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ;
3608 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp ,   3608 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp ,
3609                                                                                      long __pos ) ;   3609                                                                                      long __pos ) ;
3610 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ;   3610 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ;
3611 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ;   3611 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ;
3612 extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const   * __restrict  __dir ,   3612 extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const   * __restrict  __dir ,
3613                                                         struct dirent *** __restrict  __namelist ,   3613                                                         struct dirent *** __restrict  __namelist ,
3614                                                         int (*__selector)(struct dirent  const  * ) ,   3614                                                         int (*__selector)(struct dirent  const  * ) ,
3615                                                         int (*__cmp)(struct dirent  const  ** ,   3615                                                         int (*__cmp)(struct dirent  const  ** ,
3616                                                                      struct dirent  const  ** ) )  __asm__("scandir64")  ;   3616                                                                      struct dirent  const  ** ) )  __asm__("scandir64")  ;
3617 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent  const  **__e1 ,   3617 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent  const  **__e1 ,
3618                                                                                         struct dirent  const  **__e2 )  __asm__("alphasort64") __attribute__((__pure__)) ;   3618                                                                                         struct dirent  const  **__e2 )  __asm__("alphasort64") __attribute__((__pure__)) ;
3619 extern  __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd ,   3619 extern  __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd ,
3620                                                                                                   char * __restrict  __buf ,   3620                                                                                                   char * __restrict  __buf ,
3621                                                                                                   size_t __nbytes ,   3621                                                                                                   size_t __nbytes ,
3622                                                                                                   __off64_t * __restrict  __basep )  __asm__("getdirentries64")  ;   3622                                                                                                   __off64_t * __restrict  __basep )  __asm__("getdirentries64")  ;
3623 extern  __attribute__((__nothrow__)) void *dlopen(char const   *__file ,   3623 extern  __attribute__((__nothrow__)) void *dlopen(char const   *__file ,
3624                                                   int __mode ) ;   3624                                                   int __mode ) ;
3625 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dlclose)(void *__handle ) ;   3625 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dlclose)(void *__handle ) ;
3626 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(2))) dlsym)(void * __restrict  __handle ,   3626 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(2))) dlsym)(void * __restrict  __handle ,
3627                                                                                     char const   * __restrict  __name ) ;   3627                                                                                     char const   * __restrict  __name ) ;
3628 extern  __attribute__((__nothrow__)) char *dlerror(void) ;   3628 extern  __attribute__((__nothrow__)) char *dlerror(void) ;
3629 extern  __attribute__((__nothrow__)) int clone(int (*__fn)(void *__arg ) ,   3629 extern  __attribute__((__nothrow__)) int clone(int (*__fn)(void *__arg ) ,
3630                                                void *__child_stack ,   3630                                                void *__child_stack ,
3631                                                int __flags , void *__arg  , ...) ;   3631                                                int __flags , void *__arg  , ...) ;
3632 extern  __attribute__((__nothrow__)) int unshare(int __flags ) ;   3632 extern  __attribute__((__nothrow__)) int unshare(int __flags ) ;
3633 extern  __attribute__((__nothrow__)) int sched_getcpu(void) ;   3633 extern  __attribute__((__nothrow__)) int sched_getcpu(void) ;
3634 extern  __attribute__((__nothrow__)) int __sched_cpucount(size_t __setsize ,   3634 extern  __attribute__((__nothrow__)) int __sched_cpucount(size_t __setsize ,
3635                                                           cpu_set_t const   *__setp ) ;   3635                                                           cpu_set_t const   *__setp ) ;
3636 extern  __attribute__((__nothrow__)) cpu_set_t *__sched_cpualloc(size_t __count ) ;   3636 extern  __attribute__((__nothrow__)) cpu_set_t *__sched_cpualloc(size_t __count ) ;
3637 extern  __attribute__((__nothrow__)) void __sched_cpufree(cpu_set_t *__set ) ;   3637 extern  __attribute__((__nothrow__)) void __sched_cpufree(cpu_set_t *__set ) ;
3638 extern  __attribute__((__nothrow__)) int sched_setparam(__pid_t __pid ,   3638 extern  __attribute__((__nothrow__)) int sched_setparam(__pid_t __pid ,
3639                                                         struct sched_param  const  *__param ) ;   3639                                                         struct sched_param  const  *__param ) ;
3640 extern  __attribute__((__nothrow__)) int sched_getparam(__pid_t __pid ,   3640 extern  __attribute__((__nothrow__)) int sched_getparam(__pid_t __pid ,
3641                                                         struct sched_param *__param ) ;   3641                                                         struct sched_param *__param ) ;
3642 extern  __attribute__((__nothrow__)) int sched_setscheduler(__pid_t __pid ,   3642 extern  __attribute__((__nothrow__)) int sched_setscheduler(__pid_t __pid ,
3643                                                             int __policy ,   3643                                                             int __policy ,
3644                                                             struct sched_param  const  *__param ) ;   3644                                                             struct sched_param  const  *__param ) ;
3645 extern  __attribute__((__nothrow__)) int sched_getscheduler(__pid_t __pid ) ;   3645 extern  __attribute__((__nothrow__)) int sched_getscheduler(__pid_t __pid ) ;
3646 extern  __attribute__((__nothrow__)) int sched_yield(void) ;   3646 extern  __attribute__((__nothrow__)) int sched_yield(void) ;
3647 extern  __attribute__((__nothrow__)) int sched_get_priority_max(int __algorithm ) ;   3647 extern  __attribute__((__nothrow__)) int sched_get_priority_max(int __algorithm ) ;
3648 extern  __attribute__((__nothrow__)) int sched_get_priority_min(int __algorithm ) ;   3648 extern  __attribute__((__nothrow__)) int sched_get_priority_min(int __algorithm ) ;
3649 extern  __attribute__((__nothrow__)) int sched_rr_get_interval(__pid_t __pid ,   3649 extern  __attribute__((__nothrow__)) int sched_rr_get_interval(__pid_t __pid ,
3650                                                                struct timespec *__t ) ;   3650                                                                struct timespec *__t ) ;
3651 extern  __attribute__((__nothrow__)) clock_t clock(void) ;   3651 extern  __attribute__((__nothrow__)) clock_t clock(void) ;
3652 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;   3652 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;
3653 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,   3653 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,
3654                                                      time_t __time0 )  __attribute__((__const__)) ;   3654                                                      time_t __time0 )  __attribute__((__const__)) ;
3655 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;   3655 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;
3656 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,   3656 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,
3657                                                      size_t __maxsize ,   3657                                                      size_t __maxsize ,
3658                                                      char const   * __restrict  __format ,   3658                                                      char const   * __restrict  __format ,
3659                                                      struct tm  const  * __restrict  __tp ) ;   3659                                                      struct tm  const  * __restrict  __tp ) ;
3660 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,   3660 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,
3661                                                        size_t __maxsize ,   3661                                                        size_t __maxsize ,
3662                                                        char const   * __restrict  __format ,   3662                                                        char const   * __restrict  __format ,
3663                                                        struct tm  const  * __restrict  __tp ,   3663                                                        struct tm  const  * __restrict  __tp ,
3664                                                        __locale_t __loc ) ;   3664                                                        __locale_t __loc ) ;
3665 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;   3665 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;
3666 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;   3666 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;
3667 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,   3667 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,
3668                                                          struct tm * __restrict  __tp ) ;   3668                                                          struct tm * __restrict  __tp ) ;
3669 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,   3669 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,
3670                                                             struct tm * __restrict  __tp ) ;   3670                                                             struct tm * __restrict  __tp ) ;
3671 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;   3671 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;
3672 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;   3672 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;
3673 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,   3673 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,
3674                                                      char * __restrict  __buf ) ;   3674                                                      char * __restrict  __buf ) ;
3675 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,   3675 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,
3676                                                    char * __restrict  __buf ) ;   3676                                                    char * __restrict  __buf ) ;
3677 extern char *__tzname[2] ;   3677 extern char *__tzname[2] ;
3678 extern int __daylight ;   3678 extern int __daylight ;
3679 extern long __timezone ;   3679 extern long __timezone ;
3680 extern char *tzname[2] ;   3680 extern char *tzname[2] ;
3681 extern  __attribute__((__nothrow__)) void tzset(void) ;   3681 extern  __attribute__((__nothrow__)) void tzset(void) ;
3682 extern int daylight ;   3682 extern int daylight ;
3683 extern long timezone ;   3683 extern long timezone ;
3684 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;   3684 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;
3685 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;   3685 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;
3686 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;   3686 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;
3687 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;   3687 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;
3688 extern int nanosleep(struct timespec  const  *__requested_time ,   3688 extern int nanosleep(struct timespec  const  *__requested_time ,
3689                      struct timespec *__remaining ) ;   3689                      struct timespec *__remaining ) ;
3690 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,   3690 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,
3691                                                       struct timespec *__res ) ;   3691                                                       struct timespec *__res ) ;
3692 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,   3692 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,
3693                                                        struct timespec *__tp ) ;   3693                                                        struct timespec *__tp ) ;
3694 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,   3694 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,
3695                                                        struct timespec  const  *__tp ) ;   3695                                                        struct timespec  const  *__tp ) ;
3696 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,   3696 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,
3697                            struct timespec  const  *__req ,   3697                            struct timespec  const  *__req ,
3698                            struct timespec *__rem ) ;   3698                            struct timespec *__rem ) ;
3699 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,   3699 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,
3700                                                              clockid_t *__clock_id ) ;   3700                                                              clockid_t *__clock_id ) ;
3701 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,   3701 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,
3702                                                       struct sigevent * __restrict  __evp ,   3702                                                       struct sigevent * __restrict  __evp ,
3703                                                       timer_t * __restrict  __timerid ) ;   3703                                                       timer_t * __restrict  __timerid ) ;
3704 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;   3704 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;
3705 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,   3705 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,
3706                                                        int __flags ,   3706                                                        int __flags ,
3707                                                        struct itimerspec  const  * __restrict  __value ,   3707                                                        struct itimerspec  const  * __restrict  __value ,
3708                                                        struct itimerspec * __restrict  __ovalue ) ;   3708                                                        struct itimerspec * __restrict  __ovalue ) ;
3709 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,   3709 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,
3710                                                        struct itimerspec *__value ) ;   3710                                                        struct itimerspec *__value ) ;
3711 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;   3711 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;
3712 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) pthread_create)(pthread_t * __restrict  __newthread ,   3712 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) pthread_create)(pthread_t * __restrict  __newthread ,
3713                                                                                              pthread_attr_t const   * __restrict  __attr ,   3713                                                                                              pthread_attr_t const   * __restrict  __attr ,
3714                                                                                              void *(*__start_routine)(void * ) ,   3714                                                                                              void *(*__start_routine)(void * ) ,
3715                                                                                              void * __restrict  __arg ) ;   3715                                                                                              void * __restrict  __arg ) ;
3716 extern  __attribute__((__noreturn__)) void pthread_exit(void *__retval ) ;   3716 extern  __attribute__((__noreturn__)) void pthread_exit(void *__retval ) ;
3717 extern int pthread_join(pthread_t __th , void **__thread_return ) ;   3717 extern int pthread_join(pthread_t __th , void **__thread_return ) ;
3718 extern  __attribute__((__nothrow__)) int pthread_detach(pthread_t __th ) ;   3718 extern  __attribute__((__nothrow__)) int pthread_detach(pthread_t __th ) ;
3719 extern  __attribute__((__nothrow__)) pthread_t pthread_self(void)  __attribute__((__const__)) ;   3719 extern  __attribute__((__nothrow__)) pthread_t pthread_self(void)  __attribute__((__const__)) ;
3720 __inline extern  __attribute__((__nothrow__)) int pthread_equal(pthread_t __thread1 ,   3720 __inline extern  __attribute__((__nothrow__)) int pthread_equal(pthread_t __thread1 ,
3721                                                                 pthread_t __thread2 ) ;   3721                                                                 pthread_t __thread2 ) ;
3722 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_init)(pthread_attr_t *__attr ) ;   3722 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_init)(pthread_attr_t *__attr ) ;
3723 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_destroy)(pthread_attr_t *__attr ) ;   3723 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_destroy)(pthread_attr_t *__attr ) ;
3724 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getdetachstate)(pthread_attr_t const   *__attr ,   3724 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getdetachstate)(pthread_attr_t const   *__attr ,
3725                                                                                                           int *__detachstate ) ;   3725                                                                                                           int *__detachstate ) ;
3726 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setdetachstate)(pthread_attr_t *__attr ,   3726 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setdetachstate)(pthread_attr_t *__attr ,
3727                                                                                                         int __detachstate ) ;   3727                                                                                                         int __detachstate ) ;
3728 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getguardsize)(pthread_attr_t const   *__attr ,   3728 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getguardsize)(pthread_attr_t const   *__attr ,
3729                                                                                                         size_t *__guardsize ) ;   3729                                                                                                         size_t *__guardsize ) ;
3730 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setguardsize)(pthread_attr_t *__attr ,   3730 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setguardsize)(pthread_attr_t *__attr ,
3731                                                                                                       size_t __guardsize ) ;   3731                                                                                                       size_t __guardsize ) ;
3732 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getschedparam)(pthread_attr_t const   * __restrict  __attr ,   3732 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getschedparam)(pthread_attr_t const   * __restrict  __attr ,
3733                                                                                                          struct sched_param * __restrict  __param ) ;   3733                                                                                                          struct sched_param * __restrict  __param ) ;
3734 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_setschedparam)(pthread_attr_t * __restrict  __attr ,   3734 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_setschedparam)(pthread_attr_t * __restrict  __attr ,
3735                                                                                                          struct sched_param  const  * __restrict  __param ) ;   3735                                                                                                          struct sched_param  const  * __restrict  __param ) ;
3736 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getschedpolicy)(pthread_attr_t const   * __restrict  __attr ,   3736 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getschedpolicy)(pthread_attr_t const   * __restrict  __attr ,
3737                                                                                                           int * __restrict  __policy ) ;   3737                                                                                                           int * __restrict  __policy ) ;
3738 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setschedpolicy)(pthread_attr_t *__attr ,   3738 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setschedpolicy)(pthread_attr_t *__attr ,
3739                                                                                                         int __policy ) ;   3739                                                                                                         int __policy ) ;
3740 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getinheritsched)(pthread_attr_t const   * __restrict  __attr ,   3740 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getinheritsched)(pthread_attr_t const   * __restrict  __attr ,
3741                                                                                                            int * __restrict  __inherit ) ;   3741                                                                                                            int * __restrict  __inherit ) ;
3742 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setinheritsched)(pthread_attr_t *__attr ,   3742 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setinheritsched)(pthread_attr_t *__attr ,
3743                                                                                                          int __inherit ) ;   3743                                                                                                          int __inherit ) ;
3744 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getscope)(pthread_attr_t const   * __restrict  __attr ,   3744 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getscope)(pthread_attr_t const   * __restrict  __attr ,
3745                                                                                                     int * __restrict  __scope ) ;   3745                                                                                                     int * __restrict  __scope ) ;
3746 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setscope)(pthread_attr_t *__attr ,   3746 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setscope)(pthread_attr_t *__attr ,
3747                                                                                                   int __scope ) ;   3747                                                                                                   int __scope ) ;
3748 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getstackaddr)(pthread_attr_t const   * __restrict  __attr ,   3748 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getstackaddr)(pthread_attr_t const   * __restrict  __attr ,
3749                                                                                                         void ** __restrict  __stackaddr )  __attribute__((__deprecated__)) ;   3749                                                                                                         void ** __restrict  __stackaddr )  __attribute__((__deprecated__)) ;
3750 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setstackaddr)(pthread_attr_t *__attr ,   3750 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setstackaddr)(pthread_attr_t *__attr ,
3751                                                                                                       void *__stackaddr )  __attribute__((__deprecated__)) ;   3751                                                                                                       void *__stackaddr )  __attribute__((__deprecated__)) ;
3752 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getstacksize)(pthread_attr_t const   * __restrict  __attr ,   3752 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_attr_getstacksize)(pthread_attr_t const   * __restrict  __attr ,
3753                                                                                                         size_t * __restrict  __stacksize ) ;   3753                                                                                                         size_t * __restrict  __stacksize ) ;
3754 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setstacksize)(pthread_attr_t *__attr ,   3754 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setstacksize)(pthread_attr_t *__attr ,
3755                                                                                                       size_t __stacksize ) ;   3755                                                                                                       size_t __stacksize ) ;
3756 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) pthread_attr_getstack)(pthread_attr_t const   * __restrict  __attr ,   3756 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) pthread_attr_getstack)(pthread_attr_t const   * __restrict  __attr ,
3757                                                                                                       void ** __restrict  __stackaddr ,   3757                                                                                                       void ** __restrict  __stackaddr ,
3758                                                                                                       size_t * __restrict  __stacksize ) ;   3758                                                                                                       size_t * __restrict  __stacksize ) ;
3759 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setstack)(pthread_attr_t *__attr ,   3759 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_attr_setstack)(pthread_attr_t *__attr ,
3760                                                                                                   void *__stackaddr ,   3760                                                                                                   void *__stackaddr ,
3761                                                                                                   size_t __stacksize ) ;   3761                                                                                                   size_t __stacksize ) ;
3762 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) pthread_setschedparam)(pthread_t __target_thread ,   3762 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) pthread_setschedparam)(pthread_t __target_thread ,
3763                                                                                                   int __policy ,   3763                                                                                                   int __policy ,
3764                                                                                                   struct sched_param  const  *__param ) ;   3764                                                                                                   struct sched_param  const  *__param ) ;
3765 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) pthread_getschedparam)(pthread_t __target_thread ,   3765 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) pthread_getschedparam)(pthread_t __target_thread ,
3766                                                                                                     int * __restrict  __policy ,   3766                                                                                                     int * __restrict  __policy ,
3767                                                                                                     struct sched_param * __restrict  __param ) ;   3767                                                                                                     struct sched_param * __restrict  __param ) ;
3768 extern  __attribute__((__nothrow__)) int pthread_setschedprio(pthread_t __target_thread ,   3768 extern  __attribute__((__nothrow__)) int pthread_setschedprio(pthread_t __target_thread ,
3769                                                               int __prio ) ;   3769                                                               int __prio ) ;
3770 extern int ( __attribute__((__nonnull__(1,2))) pthread_once)(pthread_once_t *__once_control ,   3770 extern int ( __attribute__((__nonnull__(1,2))) pthread_once)(pthread_once_t *__once_control ,
3771                                                              void (*__init_routine)(void) ) ;   3771                                                              void (*__init_routine)(void) ) ;
3772 extern int pthread_setcancelstate(int __state , int *__oldstate ) ;   3772 extern int pthread_setcancelstate(int __state , int *__oldstate ) ;
3773 extern int pthread_setcanceltype(int __type , int *__oldtype ) ;   3773 extern int pthread_setcanceltype(int __type , int *__oldtype ) ;
3774 extern int pthread_cancel(pthread_t __th ) ;   3774 extern int pthread_cancel(pthread_t __th ) ;
3775 extern void pthread_testcancel(void) ;   3775 extern void pthread_testcancel(void) ;
3776 extern void ( __attribute__((__regparm__(1))) __pthread_register_cancel)(__pthread_unwind_buf_t *__buf ) ;   3776 extern void ( __attribute__((__regparm__(1))) __pthread_register_cancel)(__pthread_unwind_buf_t *__buf ) ;
3777 extern void ( __attribute__((__regparm__(1))) __pthread_unregister_cancel)(__pthread_unwind_buf_t *__buf ) ;   3777 extern void ( __attribute__((__regparm__(1))) __pthread_unregister_cancel)(__pthread_unwind_buf_t *__buf ) ;
3778 extern  __attribute__((__noreturn__)) void ( __attribute__((__regparm__(1))) __pthread_unwind_next)(__pthread_unwind_buf_t *__buf )  __attribute__((__weak__)) ;   3778 extern  __attribute__((__noreturn__)) void ( __attribute__((__regparm__(1))) __pthread_unwind_next)(__pthread_unwind_buf_t *__buf )  __attribute__((__weak__)) ;
3779 extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env ,   3779 extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env ,
3780                                                      int __savemask ) ;   3780                                                      int __savemask ) ;
3781 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_init)(pthread_mutex_t *__mutex ,   3781 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_init)(pthread_mutex_t *__mutex ,
3782                                                                                                pthread_mutexattr_t const   *__mutexattr ) ;   3782                                                                                                pthread_mutexattr_t const   *__mutexattr ) ;
3783 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_destroy)(pthread_mutex_t *__mutex ) ;   3783 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_destroy)(pthread_mutex_t *__mutex ) ;
3784 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_trylock)(pthread_mutex_t *__mutex ) ;   3784 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_trylock)(pthread_mutex_t *__mutex ) ;
3785 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_lock)(pthread_mutex_t *__mutex ) ;   3785 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_lock)(pthread_mutex_t *__mutex ) ;
3786 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutex_timedlock)(pthread_mutex_t * __restrict  __mutex ,   3786 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutex_timedlock)(pthread_mutex_t * __restrict  __mutex ,
3787                                                                                                       struct timespec  const  * __restrict  __abstime ) ;   3787                                                                                                       struct timespec  const  * __restrict  __abstime ) ;
3788 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_unlock)(pthread_mutex_t *__mutex ) ;   3788 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_unlock)(pthread_mutex_t *__mutex ) ;
3789 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutex_getprioceiling)(pthread_mutex_t const   * __restrict  __mutex ,   3789 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutex_getprioceiling)(pthread_mutex_t const   * __restrict  __mutex ,
3790                                                                                                            int * __restrict  __prioceiling ) ;   3790                                                                                                            int * __restrict  __prioceiling ) ;
3791 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) pthread_mutex_setprioceiling)(pthread_mutex_t * __restrict  __mutex ,   3791 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) pthread_mutex_setprioceiling)(pthread_mutex_t * __restrict  __mutex ,
3792                                                                                                            int __prioceiling ,   3792                                                                                                            int __prioceiling ,
3793                                                                                                            int * __restrict  __old_ceiling ) ;   3793                                                                                                            int * __restrict  __old_ceiling ) ;
3794 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_consistent)(pthread_mutex_t *__mutex ) ;   3794 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutex_consistent)(pthread_mutex_t *__mutex ) ;
3795 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_init)(pthread_mutexattr_t *__attr ) ;   3795 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_init)(pthread_mutexattr_t *__attr ) ;
3796 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_destroy)(pthread_mutexattr_t *__attr ) ;   3796 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_destroy)(pthread_mutexattr_t *__attr ) ;
3797 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getpshared)(pthread_mutexattr_t const   * __restrict  __attr ,   3797 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getpshared)(pthread_mutexattr_t const   * __restrict  __attr ,
3798                                                                                                            int * __restrict  __pshared ) ;   3798                                                                                                            int * __restrict  __pshared ) ;
3799 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setpshared)(pthread_mutexattr_t *__attr ,   3799 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setpshared)(pthread_mutexattr_t *__attr ,
3800                                                                                                          int __pshared ) ;   3800                                                                                                          int __pshared ) ;
3801 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_gettype)(pthread_mutexattr_t const   * __restrict  __attr ,   3801 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_gettype)(pthread_mutexattr_t const   * __restrict  __attr ,
3802                                                                                                         int * __restrict  __kind ) ;   3802                                                                                                         int * __restrict  __kind ) ;
3803 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_settype)(pthread_mutexattr_t *__attr ,   3803 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_settype)(pthread_mutexattr_t *__attr ,
3804                                                                                                       int __kind ) ;   3804                                                                                                       int __kind ) ;
3805 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getprotocol)(pthread_mutexattr_t const   * __restrict  __attr ,   3805 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getprotocol)(pthread_mutexattr_t const   * __restrict  __attr ,
3806                                                                                                             int * __restrict  __protocol ) ;   3806                                                                                                             int * __restrict  __protocol ) ;
3807 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setprotocol)(pthread_mutexattr_t *__attr ,   3807 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setprotocol)(pthread_mutexattr_t *__attr ,
3808                                                                                                           int __protocol ) ;   3808                                                                                                           int __protocol ) ;
3809 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getprioceiling)(pthread_mutexattr_t const   * __restrict  __attr ,   3809 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getprioceiling)(pthread_mutexattr_t const   * __restrict  __attr ,
3810                                                                                                                int * __restrict  __prioceiling ) ;   3810                                                                                                                int * __restrict  __prioceiling ) ;
3811 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setprioceiling)(pthread_mutexattr_t *__attr ,   3811 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setprioceiling)(pthread_mutexattr_t *__attr ,
3812                                                                                                              int __prioceiling ) ;   3812                                                                                                              int __prioceiling ) ;
3813 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getrobust)(pthread_mutexattr_t const   *__attr ,   3813 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_mutexattr_getrobust)(pthread_mutexattr_t const   *__attr ,
3814                                                                                                           int *__robustness ) ;   3814                                                                                                           int *__robustness ) ;
3815 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setrobust)(pthread_mutexattr_t *__attr ,   3815 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_mutexattr_setrobust)(pthread_mutexattr_t *__attr ,
3816                                                                                                         int __robustness ) ;   3816                                                                                                         int __robustness ) ;
3817 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_init)(pthread_rwlock_t * __restrict  __rwlock ,   3817 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_init)(pthread_rwlock_t * __restrict  __rwlock ,
3818                                                                                                 pthread_rwlockattr_t const   * __restrict  __attr ) ;   3818                                                                                                 pthread_rwlockattr_t const   * __restrict  __attr ) ;
3819 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_destroy)(pthread_rwlock_t *__rwlock ) ;   3819 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_destroy)(pthread_rwlock_t *__rwlock ) ;
3820 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_rdlock)(pthread_rwlock_t *__rwlock ) ;   3820 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_rdlock)(pthread_rwlock_t *__rwlock ) ;
3821 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_tryrdlock)(pthread_rwlock_t *__rwlock ) ;   3821 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_tryrdlock)(pthread_rwlock_t *__rwlock ) ;
3822 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlock_timedrdlock)(pthread_rwlock_t * __restrict  __rwlock ,   3822 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlock_timedrdlock)(pthread_rwlock_t * __restrict  __rwlock ,
3823                                                                                                          struct timespec  const  * __restrict  __abstime ) ;   3823                                                                                                          struct timespec  const  * __restrict  __abstime ) ;
3824 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_wrlock)(pthread_rwlock_t *__rwlock ) ;   3824 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_wrlock)(pthread_rwlock_t *__rwlock ) ;
3825 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_trywrlock)(pthread_rwlock_t *__rwlock ) ;   3825 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_trywrlock)(pthread_rwlock_t *__rwlock ) ;
3826 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlock_timedwrlock)(pthread_rwlock_t * __restrict  __rwlock ,   3826 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlock_timedwrlock)(pthread_rwlock_t * __restrict  __rwlock ,
3827                                                                                                          struct timespec  const  * __restrict  __abstime ) ;   3827                                                                                                          struct timespec  const  * __restrict  __abstime ) ;
3828 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_unlock)(pthread_rwlock_t *__rwlock ) ;   3828 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlock_unlock)(pthread_rwlock_t *__rwlock ) ;
3829 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_init)(pthread_rwlockattr_t *__attr ) ;   3829 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_init)(pthread_rwlockattr_t *__attr ) ;
3830 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_destroy)(pthread_rwlockattr_t *__attr ) ;   3830 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_destroy)(pthread_rwlockattr_t *__attr ) ;
3831 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlockattr_getpshared)(pthread_rwlockattr_t const   * __restrict  __attr ,   3831 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlockattr_getpshared)(pthread_rwlockattr_t const   * __restrict  __attr ,
3832                                                                                                             int * __restrict  __pshared ) ;   3832                                                                                                             int * __restrict  __pshared ) ;
3833 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_setpshared)(pthread_rwlockattr_t *__attr ,   3833 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_setpshared)(pthread_rwlockattr_t *__attr ,
3834                                                                                                           int __pshared ) ;   3834                                                                                                           int __pshared ) ;
3835 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlockattr_getkind_np)(pthread_rwlockattr_t const   * __restrict  __attr ,   3835 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_rwlockattr_getkind_np)(pthread_rwlockattr_t const   * __restrict  __attr ,
3836                                                                                                             int * __restrict  __pref ) ;   3836                                                                                                             int * __restrict  __pref ) ;
3837 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_setkind_np)(pthread_rwlockattr_t *__attr ,   3837 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_rwlockattr_setkind_np)(pthread_rwlockattr_t *__attr ,
3838                                                                                                           int __pref ) ;   3838                                                                                                           int __pref ) ;
3839 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_init)(pthread_cond_t * __restrict  __cond ,   3839 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_init)(pthread_cond_t * __restrict  __cond ,
3840                                                                                               pthread_condattr_t const   * __restrict  __cond_attr ) ;   3840                                                                                               pthread_condattr_t const   * __restrict  __cond_attr ) ;
3841 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_destroy)(pthread_cond_t *__cond ) ;   3841 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_destroy)(pthread_cond_t *__cond ) ;
3842 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_signal)(pthread_cond_t *__cond ) ;   3842 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_signal)(pthread_cond_t *__cond ) ;
3843 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_broadcast)(pthread_cond_t *__cond ) ;   3843 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_cond_broadcast)(pthread_cond_t *__cond ) ;
3844 extern int ( __attribute__((__nonnull__(1,2))) pthread_cond_wait)(pthread_cond_t * __restrict  __cond ,   3844 extern int ( __attribute__((__nonnull__(1,2))) pthread_cond_wait)(pthread_cond_t * __restrict  __cond ,
3845                                                                   pthread_mutex_t * __restrict  __mutex ) ;   3845                                                                   pthread_mutex_t * __restrict  __mutex ) ;
3846 extern int ( __attribute__((__nonnull__(1,2,3))) pthread_cond_timedwait)(pthread_cond_t * __restrict  __cond ,   3846 extern int ( __attribute__((__nonnull__(1,2,3))) pthread_cond_timedwait)(pthread_cond_t * __restrict  __cond ,
3847                                                                          pthread_mutex_t * __restrict  __mutex ,   3847                                                                          pthread_mutex_t * __restrict  __mutex ,
3848                                                                          struct timespec  const  * __restrict  __abstime ) ;   3848                                                                          struct timespec  const  * __restrict  __abstime ) ;
3849 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_init)(pthread_condattr_t *__attr ) ;   3849 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_init)(pthread_condattr_t *__attr ) ;
3850 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_destroy)(pthread_condattr_t *__attr ) ;   3850 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_destroy)(pthread_condattr_t *__attr ) ;
3851 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_condattr_getpshared)(pthread_condattr_t const   * __restrict  __attr ,   3851 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_condattr_getpshared)(pthread_condattr_t const   * __restrict  __attr ,
3852                                                                                                           int * __restrict  __pshared ) ;   3852                                                                                                           int * __restrict  __pshared ) ;
3853 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_setpshared)(pthread_condattr_t *__attr ,   3853 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_setpshared)(pthread_condattr_t *__attr ,
3854                                                                                                         int __pshared ) ;   3854                                                                                                         int __pshared ) ;
3855 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_condattr_getclock)(pthread_condattr_t const   * __restrict  __attr ,   3855 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_condattr_getclock)(pthread_condattr_t const   * __restrict  __attr ,
3856                                                                                                         __clockid_t * __restrict  __clock_id ) ;   3856                                                                                                         __clockid_t * __restrict  __clock_id ) ;
3857 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_setclock)(pthread_condattr_t *__attr ,   3857 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_condattr_setclock)(pthread_condattr_t *__attr ,
3858                                                                                                       __clockid_t __clock_id ) ;   3858                                                                                                       __clockid_t __clock_id ) ;
3859 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_init)(pthread_spinlock_t *__lock ,   3859 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_init)(pthread_spinlock_t *__lock ,
3860                                                                                               int __pshared ) ;   3860                                                                                               int __pshared ) ;
3861 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_destroy)(pthread_spinlock_t *__lock ) ;   3861 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_destroy)(pthread_spinlock_t *__lock ) ;
3862 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_lock)(pthread_spinlock_t *__lock ) ;   3862 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_lock)(pthread_spinlock_t *__lock ) ;
3863 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_trylock)(pthread_spinlock_t *__lock ) ;   3863 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_trylock)(pthread_spinlock_t *__lock ) ;
3864 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_unlock)(pthread_spinlock_t *__lock ) ;   3864 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_spin_unlock)(pthread_spinlock_t *__lock ) ;
3865 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrier_init)(pthread_barrier_t * __restrict  __barrier ,   3865 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrier_init)(pthread_barrier_t * __restrict  __barrier ,
3866                                                                                                  pthread_barrierattr_t const   * __restrict  __attr ,   3866                                                                                                  pthread_barrierattr_t const   * __restrict  __attr ,
3867                                                                                                  unsigned int __count ) ;   3867                                                                                                  unsigned int __count ) ;
3868 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrier_destroy)(pthread_barrier_t *__barrier ) ;   3868 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrier_destroy)(pthread_barrier_t *__barrier ) ;
3869 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrier_wait)(pthread_barrier_t *__barrier ) ;   3869 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrier_wait)(pthread_barrier_t *__barrier ) ;
3870 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrierattr_init)(pthread_barrierattr_t *__attr ) ;   3870 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrierattr_init)(pthread_barrierattr_t *__attr ) ;
3871 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrierattr_destroy)(pthread_barrierattr_t *__attr ) ;   3871 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrierattr_destroy)(pthread_barrierattr_t *__attr ) ;
3872 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_barrierattr_getpshared)(pthread_barrierattr_t const   * __restrict  __attr ,   3872 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) pthread_barrierattr_getpshared)(pthread_barrierattr_t const   * __restrict  __attr ,
3873                                                                                                              int * __restrict  __pshared ) ;   3873                                                                                                              int * __restrict  __pshared ) ;
3874 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrierattr_setpshared)(pthread_barrierattr_t *__attr ,   3874 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_barrierattr_setpshared)(pthread_barrierattr_t *__attr ,
3875                                                                                                            int __pshared ) ;   3875                                                                                                            int __pshared ) ;
3876 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_key_create)(pthread_key_t *__key ,   3876 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) pthread_key_create)(pthread_key_t *__key ,
3877                                                                                                void (*__destr_function)(void * ) ) ;   3877                                                                                                void (*__destr_function)(void * ) ) ;
3878 extern  __attribute__((__nothrow__)) int pthread_key_delete(pthread_key_t __key ) ;   3878 extern  __attribute__((__nothrow__)) int pthread_key_delete(pthread_key_t __key ) ;
3879 extern  __attribute__((__nothrow__)) void *pthread_getspecific(pthread_key_t __key ) ;   3879 extern  __attribute__((__nothrow__)) void *pthread_getspecific(pthread_key_t __key ) ;
3880 extern  __attribute__((__nothrow__)) int pthread_setspecific(pthread_key_t __key ,   3880 extern  __attribute__((__nothrow__)) int pthread_setspecific(pthread_key_t __key ,
3881                                                              void const   *__pointer ) ;   3881                                                              void const   *__pointer ) ;
3882 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) pthread_getcpuclockid)(pthread_t __thread_id ,   3882 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) pthread_getcpuclockid)(pthread_t __thread_id ,
3883                                                                                                   __clockid_t *__clock_id ) ;   3883                                                                                                   __clockid_t *__clock_id ) ;
3884 extern  __attribute__((__nothrow__)) int pthread_atfork(void (*__prepare)(void) ,   3884 extern  __attribute__((__nothrow__)) int pthread_atfork(void (*__prepare)(void) ,
3885                                                         void (*__parent)(void) ,   3885                                                         void (*__parent)(void) ,
3886                                                         void (*__child)(void) ) ;   3886                                                         void (*__child)(void) ) ;
3887 __inline extern  __attribute__((__nothrow__)) int pthread_equal(pthread_t __thread1 ,   3887 __inline extern  __attribute__((__nothrow__)) int pthread_equal(pthread_t __thread1 ,
3888                                                                 pthread_t __thread2 ) ;   3888                                                                 pthread_t __thread2 ) ;
3889 __inline extern int pthread_equal(pthread_t __thread1 , pthread_t __thread2 )   3889 __inline extern int pthread_equal(pthread_t __thread1 , pthread_t __thread2 )
3890 {   3890 {
3891     3891  
3892     3892  
3893   {   3893   {
3894   return (__thread1 == __thread2);   3894   return (__thread1 == __thread2);
3895 }   3895 }
3896 }   3896 }
3897 extern int _Xmblen(char *str , int len ) ;   3897 extern int _Xmblen(char *str , int len ) ;
3898 extern int _Xdebug ;   3898 extern int _Xdebug ;
3899 extern XFontStruct *XLoadQueryFont(Display * , char const   * ) ;   3899 extern XFontStruct *XLoadQueryFont(Display * , char const   * ) ;
3900 extern XFontStruct *XQueryFont(Display * , XID  ) ;   3900 extern XFontStruct *XQueryFont(Display * , XID  ) ;
3901 extern XTimeCoord *XGetMotionEvents(Display * , Window  , Time  , Time  , int * ) ;   3901 extern XTimeCoord *XGetMotionEvents(Display * , Window  , Time  , Time  , int * ) ;
3902 extern XModifierKeymap *XDeleteModifiermapEntry(XModifierKeymap * , KeyCode  ,   3902 extern XModifierKeymap *XDeleteModifiermapEntry(XModifierKeymap * , KeyCode  ,
3903                                                 int  ) ;   3903                                                 int  ) ;
3904 extern XModifierKeymap *XGetModifierMapping(Display * ) ;   3904 extern XModifierKeymap *XGetModifierMapping(Display * ) ;
3905 extern XModifierKeymap *XInsertModifiermapEntry(XModifierKeymap * , KeyCode  ,   3905 extern XModifierKeymap *XInsertModifiermapEntry(XModifierKeymap * , KeyCode  ,
3906                                                 int  ) ;   3906                                                 int  ) ;
3907 extern XModifierKeymap *XNewModifiermap(int  ) ;   3907 extern XModifierKeymap *XNewModifiermap(int  ) ;
3908 extern XImage *XCreateImage(Display * , Visual * , unsigned int  , int  , int  ,   3908 extern XImage *XCreateImage(Display * , Visual * , unsigned int  , int  , int  ,
3909                             char * , unsigned int  , unsigned int  , int  ,   3909                             char * , unsigned int  , unsigned int  , int  ,
3910                             int  ) ;   3910                             int  ) ;
3911 extern int XInitImage(XImage * ) ;   3911 extern int XInitImage(XImage * ) ;
3912 extern XImage *XGetImage(Display * , Drawable  , int  , int  , unsigned int  ,   3912 extern XImage *XGetImage(Display * , Drawable  , int  , int  , unsigned int  ,
3913                          unsigned int  , unsigned long  , int  ) ;   3913                          unsigned int  , unsigned long  , int  ) ;
3914 extern XImage *XGetSubImage(Display * , Drawable  , int  , int  ,   3914 extern XImage *XGetSubImage(Display * , Drawable  , int  , int  ,
3915                             unsigned int  , unsigned int  , unsigned long  ,   3915                             unsigned int  , unsigned int  , unsigned long  ,
3916                             int  , XImage * , int  , int  ) ;   3916                             int  , XImage * , int  , int  ) ;
3917 extern Display *XOpenDisplay(char const   * ) ;   3917 extern Display *XOpenDisplay(char const   * ) ;
3918 extern void XrmInitialize(void) ;   3918 extern void XrmInitialize(void) ;
3919 extern char *XFetchBytes(Display * , int * ) ;   3919 extern char *XFetchBytes(Display * , int * ) ;
3920 extern char *XFetchBuffer(Display * , int * , int  ) ;   3920 extern char *XFetchBuffer(Display * , int * , int  ) ;
3921 extern char *XGetAtomName(Display * , Atom  ) ;   3921 extern char *XGetAtomName(Display * , Atom  ) ;
3922 extern int XGetAtomNames(Display * , Atom * , int  , char ** ) ;   3922 extern int XGetAtomNames(Display * , Atom * , int  , char ** ) ;
3923 extern char *XGetDefault(Display * , char const   * , char const   * ) ;   3923 extern char *XGetDefault(Display * , char const   * , char const   * ) ;
3924 extern char *XDisplayName(char const   * ) ;   3924 extern char *XDisplayName(char const   * ) ;
3925 extern char *XKeysymToString(KeySym  ) ;   3925 extern char *XKeysymToString(KeySym  ) ;
3926 extern int (*XSynchronize(Display * , int  ))(Display * ) ;   3926 extern int (*XSynchronize(Display * , int  ))(Display * ) ;
3927 extern int (*XSetAfterFunction(Display * , int (*)(Display * ) ))(Display * ) ;   3927 extern int (*XSetAfterFunction(Display * , int (*)(Display * ) ))(Display * ) ;
3928 extern Atom XInternAtom(Display * , char const   * , int  ) ;   3928 extern Atom XInternAtom(Display * , char const   * , int  ) ;
3929 extern int XInternAtoms(Display * , char ** , int  , int  , Atom * ) ;   3929 extern int XInternAtoms(Display * , char ** , int  , int  , Atom * ) ;
3930 extern Colormap XCopyColormapAndFree(Display * , Colormap  ) ;   3930 extern Colormap XCopyColormapAndFree(Display * , Colormap  ) ;
3931 extern Colormap XCreateColormap(Display * , Window  , Visual * , int  ) ;   3931 extern Colormap XCreateColormap(Display * , Window  , Visual * , int  ) ;
3932 extern Cursor XCreatePixmapCursor(Display * , Pixmap  , Pixmap  , XColor * ,   3932 extern Cursor XCreatePixmapCursor(Display * , Pixmap  , Pixmap  , XColor * ,
3933                                   XColor * , unsigned int  , unsigned int  ) ;   3933                                   XColor * , unsigned int  , unsigned int  ) ;
3934 extern Cursor XCreateGlyphCursor(Display * , Font  , Font  , unsigned int  ,   3934 extern Cursor XCreateGlyphCursor(Display * , Font  , Font  , unsigned int  ,
3935                                  unsigned int  , XColor const   * ,   3935                                  unsigned int  , XColor const   * ,
3936                                  XColor const   * ) ;   3936                                  XColor const   * ) ;
3937 extern Cursor XCreateFontCursor(Display * , unsigned int  ) ;   3937 extern Cursor XCreateFontCursor(Display * , unsigned int  ) ;
3938 extern Font XLoadFont(Display * , char const   * ) ;   3938 extern Font XLoadFont(Display * , char const   * ) ;
3939 extern GC XCreateGC(Display * , Drawable  , unsigned long  , XGCValues * ) ;   3939 extern GC XCreateGC(Display * , Drawable  , unsigned long  , XGCValues * ) ;
3940 extern GContext XGContextFromGC(GC  ) ;   3940 extern GContext XGContextFromGC(GC  ) ;
3941 extern void XFlushGC(Display * , GC  ) ;   3941 extern void XFlushGC(Display * , GC  ) ;
3942 extern Pixmap XCreatePixmap(Display * , Drawable  , unsigned int  ,   3942 extern Pixmap XCreatePixmap(Display * , Drawable  , unsigned int  ,
3943                             unsigned int  , unsigned int  ) ;   3943                             unsigned int  , unsigned int  ) ;
3944 extern Pixmap XCreateBitmapFromData(Display * , Drawable  , char const   * ,   3944 extern Pixmap XCreateBitmapFromData(Display * , Drawable  , char const   * ,
3945                                     unsigned int  , unsigned int  ) ;   3945                                     unsigned int  , unsigned int  ) ;
3946 extern Pixmap XCreatePixmapFromBitmapData(Display * , Drawable  , char * ,   3946 extern Pixmap XCreatePixmapFromBitmapData(Display * , Drawable  , char * ,
3947                                           unsigned int  , unsigned int  ,   3947                                           unsigned int  , unsigned int  ,
3948                                           unsigned long  , unsigned long  ,   3948                                           unsigned long  , unsigned long  ,
3949                                           unsigned int  ) ;   3949                                           unsigned int  ) ;
3950 extern Window XCreateSimpleWindow(Display * , Window  , int  , int  ,   3950 extern Window XCreateSimpleWindow(Display * , Window  , int  , int  ,
3951                                   unsigned int  , unsigned int  ,   3951                                   unsigned int  , unsigned int  ,
3952                                   unsigned int  , unsigned long  ,   3952                                   unsigned int  , unsigned long  ,
3953                                   unsigned long  ) ;   3953                                   unsigned long  ) ;
3954 extern Window XGetSelectionOwner(Display * , Atom  ) ;   3954 extern Window XGetSelectionOwner(Display * , Atom  ) ;
3955 extern Window XCreateWindow(Display * , Window  , int  , int  , unsigned int  ,   3955 extern Window XCreateWindow(Display * , Window  , int  , int  , unsigned int  ,
3956                             unsigned int  , unsigned int  , int  ,   3956                             unsigned int  , unsigned int  , int  ,
3957                             unsigned int  , Visual * , unsigned long  ,   3957                             unsigned int  , Visual * , unsigned long  ,
3958                             XSetWindowAttributes * ) ;   3958                             XSetWindowAttributes * ) ;
3959 extern Colormap *XListInstalledColormaps(Display * , Window  , int * ) ;   3959 extern Colormap *XListInstalledColormaps(Display * , Window  , int * ) ;
3960 extern char **XListFonts(Display * , char const   * , int  , int * ) ;   3960 extern char **XListFonts(Display * , char const   * , int  , int * ) ;
3961 extern char **XListFontsWithInfo(Display * , char const   * , int  , int * ,   3961 extern char **XListFontsWithInfo(Display * , char const   * , int  , int * ,
3962                                  XFontStruct ** ) ;   3962                                  XFontStruct ** ) ;
3963 extern char **XGetFontPath(Display * , int * ) ;   3963 extern char **XGetFontPath(Display * , int * ) ;
3964 extern char **XListExtensions(Display * , int * ) ;   3964 extern char **XListExtensions(Display * , int * ) ;
3965 extern Atom *XListProperties(Display * , Window  , int * ) ;   3965 extern Atom *XListProperties(Display * , Window  , int * ) ;
3966 extern XHostAddress *XListHosts(Display * , int * , int * ) ;   3966 extern XHostAddress *XListHosts(Display * , int * , int * ) ;
3967 extern KeySym XKeycodeToKeysym(Display * , KeyCode  , int  ) ;   3967 extern KeySym XKeycodeToKeysym(Display * , KeyCode  , int  ) ;
3968 extern KeySym XLookupKeysym(XKeyEvent * , int  ) ;   3968 extern KeySym XLookupKeysym(XKeyEvent * , int  ) ;
3969 extern KeySym *XGetKeyboardMapping(Display * , KeyCode  , int  , int * ) ;   3969 extern KeySym *XGetKeyboardMapping(Display * , KeyCode  , int  , int * ) ;
3970 extern KeySym XStringToKeysym(char const   * ) ;   3970 extern KeySym XStringToKeysym(char const   * ) ;
3971 extern long XMaxRequestSize(Display * ) ;   3971 extern long XMaxRequestSize(Display * ) ;
3972 extern long XExtendedMaxRequestSize(Display * ) ;   3972 extern long XExtendedMaxRequestSize(Display * ) ;
3973 extern char *XResourceManagerString(Display * ) ;   3973 extern char *XResourceManagerString(Display * ) ;
3974 extern char *XScreenResourceString(Screen * ) ;   3974 extern char *XScreenResourceString(Screen * ) ;
3975 extern unsigned long XDisplayMotionBufferSize(Display * ) ;   3975 extern unsigned long XDisplayMotionBufferSize(Display * ) ;
3976 extern VisualID XVisualIDFromVisual(Visual * ) ;   3976 extern VisualID XVisualIDFromVisual(Visual * ) ;
3977 extern int XInitThreads(void) ;   3977 extern int XInitThreads(void) ;
3978 extern void XLockDisplay(Display * ) ;   3978 extern void XLockDisplay(Display * ) ;
3979 extern void XUnlockDisplay(Display * ) ;   3979 extern void XUnlockDisplay(Display * ) ;
3980 extern XExtCodes *XInitExtension(Display * , char const   * ) ;   3980 extern XExtCodes *XInitExtension(Display * , char const   * ) ;
3981 extern XExtCodes *XAddExtension(Display * ) ;   3981 extern XExtCodes *XAddExtension(Display * ) ;
3982 extern XExtData *XFindOnExtensionList(XExtData ** , int  ) ;   3982 extern XExtData *XFindOnExtensionList(XExtData ** , int  ) ;
3983 extern XExtData **XEHeadOfExtensionList(XEDataObject  ) ;   3983 extern XExtData **XEHeadOfExtensionList(XEDataObject  ) ;
3984 extern Window XRootWindow(Display * , int  ) ;   3984 extern Window XRootWindow(Display * , int  ) ;
3985 extern Window XDefaultRootWindow(Display * ) ;   3985 extern Window XDefaultRootWindow(Display * ) ;
3986 extern Window XRootWindowOfScreen(Screen * ) ;   3986 extern Window XRootWindowOfScreen(Screen * ) ;
3987 extern Visual *XDefaultVisual(Display * , int  ) ;   3987 extern Visual *XDefaultVisual(Display * , int  ) ;
3988 extern Visual *XDefaultVisualOfScreen(Screen * ) ;   3988 extern Visual *XDefaultVisualOfScreen(Screen * ) ;
3989 extern GC XDefaultGC(Display * , int  ) ;   3989 extern GC XDefaultGC(Display * , int  ) ;
3990 extern GC XDefaultGCOfScreen(Screen * ) ;   3990 extern GC XDefaultGCOfScreen(Screen * ) ;
3991 extern unsigned long XBlackPixel(Display * , int  ) ;   3991 extern unsigned long XBlackPixel(Display * , int  ) ;
3992 extern unsigned long XWhitePixel(Display * , int  ) ;   3992 extern unsigned long XWhitePixel(Display * , int  ) ;
3993 extern unsigned long XAllPlanes(void) ;   3993 extern unsigned long XAllPlanes(void) ;
3994 extern unsigned long XBlackPixelOfScreen(Screen * ) ;   3994 extern unsigned long XBlackPixelOfScreen(Screen * ) ;
3995 extern unsigned long XWhitePixelOfScreen(Screen * ) ;   3995 extern unsigned long XWhitePixelOfScreen(Screen * ) ;
3996 extern unsigned long XNextRequest(Display * ) ;   3996 extern unsigned long XNextRequest(Display * ) ;
3997 extern unsigned long XLastKnownRequestProcessed(Display * ) ;   3997 extern unsigned long XLastKnownRequestProcessed(Display * ) ;
3998 extern char *XServerVendor(Display * ) ;   3998 extern char *XServerVendor(Display * ) ;
3999 extern char *XDisplayString(Display * ) ;   3999 extern char *XDisplayString(Display * ) ;
4000 extern Colormap XDefaultColormap(Display * , int  ) ;   4000 extern Colormap XDefaultColormap(Display * , int  ) ;
4001 extern Colormap XDefaultColormapOfScreen(Screen * ) ;   4001 extern Colormap XDefaultColormapOfScreen(Screen * ) ;
4002 extern Display *XDisplayOfScreen(Screen * ) ;   4002 extern Display *XDisplayOfScreen(Screen * ) ;
4003 extern Screen *XScreenOfDisplay(Display * , int  ) ;   4003 extern Screen *XScreenOfDisplay(Display * , int  ) ;
4004 extern Screen *XDefaultScreenOfDisplay(Display * ) ;   4004 extern Screen *XDefaultScreenOfDisplay(Display * ) ;
4005 extern long XEventMaskOfScreen(Screen * ) ;   4005 extern long XEventMaskOfScreen(Screen * ) ;
4006 extern int XScreenNumberOfScreen(Screen * ) ;   4006 extern int XScreenNumberOfScreen(Screen * ) ;
4007 extern XErrorHandler XSetErrorHandler(int (*)(Display * , XErrorEvent * ) ) ;   4007 extern XErrorHandler XSetErrorHandler(int (*)(Display * , XErrorEvent * ) ) ;
4008 extern XIOErrorHandler XSetIOErrorHandler(int (*)(Display * ) ) ;   4008 extern XIOErrorHandler XSetIOErrorHandler(int (*)(Display * ) ) ;
4009 extern XPixmapFormatValues *XListPixmapFormats(Display * , int * ) ;   4009 extern XPixmapFormatValues *XListPixmapFormats(Display * , int * ) ;
4010 extern int *XListDepths(Display * , int  , int * ) ;   4010 extern int *XListDepths(Display * , int  , int * ) ;
4011 extern int XReconfigureWMWindow(Display * , Window  , int  , unsigned int  ,   4011 extern int XReconfigureWMWindow(Display * , Window  , int  , unsigned int  ,
4012                                 XWindowChanges * ) ;   4012                                 XWindowChanges * ) ;
4013 extern int XGetWMProtocols(Display * , Window  , Atom ** , int * ) ;   4013 extern int XGetWMProtocols(Display * , Window  , Atom ** , int * ) ;
4014 extern int XSetWMProtocols(Display * , Window  , Atom * , int  ) ;   4014 extern int XSetWMProtocols(Display * , Window  , Atom * , int  ) ;
4015 extern int XIconifyWindow(Display * , Window  , int  ) ;   4015 extern int XIconifyWindow(Display * , Window  , int  ) ;
4016 extern int XWithdrawWindow(Display * , Window  , int  ) ;   4016 extern int XWithdrawWindow(Display * , Window  , int  ) ;
4017 extern int XGetCommand(Display * , Window  , char *** , int * ) ;   4017 extern int XGetCommand(Display * , Window  , char *** , int * ) ;
4018 extern int XGetWMColormapWindows(Display * , Window  , Window ** , int * ) ;   4018 extern int XGetWMColormapWindows(Display * , Window  , Window ** , int * ) ;
4019 extern int XSetWMColormapWindows(Display * , Window  , Window * , int  ) ;   4019 extern int XSetWMColormapWindows(Display * , Window  , Window * , int  ) ;
4020 extern void XFreeStringList(char ** ) ;   4020 extern void XFreeStringList(char ** ) ;
4021 extern int XSetTransientForHint(Display * , Window  , Window  ) ;   4021 extern int XSetTransientForHint(Display * , Window  , Window  ) ;
4022 extern int XActivateScreenSaver(Display * ) ;   4022 extern int XActivateScreenSaver(Display * ) ;
4023 extern int XAddHost(Display * , XHostAddress * ) ;   4023 extern int XAddHost(Display * , XHostAddress * ) ;
4024 extern int XAddHosts(Display * , XHostAddress * , int  ) ;   4024 extern int XAddHosts(Display * , XHostAddress * , int  ) ;
4025 extern int XAddToExtensionList(struct _XExtData ** , XExtData * ) ;   4025 extern int XAddToExtensionList(struct _XExtData ** , XExtData * ) ;
4026 extern int XAddToSaveSet(Display * , Window  ) ;   4026 extern int XAddToSaveSet(Display * , Window  ) ;
4027 extern int XAllocColor(Display * , Colormap  , XColor * ) ;   4027 extern int XAllocColor(Display * , Colormap  , XColor * ) ;
4028 extern int XAllocColorCells(Display * , Colormap  , int  , unsigned long * ,   4028 extern int XAllocColorCells(Display * , Colormap  , int  , unsigned long * ,
4029                             unsigned int  , unsigned long * , unsigned int  ) ;   4029                             unsigned int  , unsigned long * , unsigned int  ) ;
4030 extern int XAllocColorPlanes(Display * , Colormap  , int  , unsigned long * ,   4030 extern int XAllocColorPlanes(Display * , Colormap  , int  , unsigned long * ,
4031                              int  , int  , int  , int  , unsigned long * ,   4031                              int  , int  , int  , int  , unsigned long * ,
4032                              unsigned long * , unsigned long * ) ;   4032                              unsigned long * , unsigned long * ) ;
4033 extern int XAllocNamedColor(Display * , Colormap  , char const   * , XColor * ,   4033 extern int XAllocNamedColor(Display * , Colormap  , char const   * , XColor * ,
4034                             XColor * ) ;   4034                             XColor * ) ;
4035 extern int XAllowEvents(Display * , int  , Time  ) ;   4035 extern int XAllowEvents(Display * , int  , Time  ) ;
4036 extern int XAutoRepeatOff(Display * ) ;   4036 extern int XAutoRepeatOff(Display * ) ;
4037 extern int XAutoRepeatOn(Display * ) ;   4037 extern int XAutoRepeatOn(Display * ) ;
4038 extern int XBell(Display * , int  ) ;   4038 extern int XBell(Display * , int  ) ;
4039 extern int XBitmapBitOrder(Display * ) ;   4039 extern int XBitmapBitOrder(Display * ) ;
4040 extern int XBitmapPad(Display * ) ;   4040 extern int XBitmapPad(Display * ) ;
4041 extern int XBitmapUnit(Display * ) ;   4041 extern int XBitmapUnit(Display * ) ;
4042 extern int XCellsOfScreen(Screen * ) ;   4042 extern int XCellsOfScreen(Screen * ) ;
4043 extern int XChangeActivePointerGrab(Display * , unsigned int  , Cursor  , Time  ) ;   4043 extern int XChangeActivePointerGrab(Display * , unsigned int  , Cursor  , Time  ) ;
4044 extern int XChangeGC(Display * , GC  , unsigned long  , XGCValues * ) ;   4044 extern int XChangeGC(Display * , GC  , unsigned long  , XGCValues * ) ;
4045 extern int XChangeKeyboardControl(Display * , unsigned long  ,   4045 extern int XChangeKeyboardControl(Display * , unsigned long  ,
4046                                   XKeyboardControl * ) ;   4046                                   XKeyboardControl * ) ;
4047 extern int XChangeKeyboardMapping(Display * , int  , int  , KeySym * , int  ) ;   4047 extern int XChangeKeyboardMapping(Display * , int  , int  , KeySym * , int  ) ;
4048 extern int XChangePointerControl(Display * , int  , int  , int  , int  , int  ) ;   4048 extern int XChangePointerControl(Display * , int  , int  , int  , int  , int  ) ;
4049 extern int XChangeProperty(Display * , Window  , Atom  , Atom  , int  , int  ,   4049 extern int XChangeProperty(Display * , Window  , Atom  , Atom  , int  , int  ,
4050                            unsigned char const   * , int  ) ;   4050                            unsigned char const   * , int  ) ;
4051 extern int XChangeSaveSet(Display * , Window  , int  ) ;   4051 extern int XChangeSaveSet(Display * , Window  , int  ) ;
4052 extern int XChangeWindowAttributes(Display * , Window  , unsigned long  ,   4052 extern int XChangeWindowAttributes(Display * , Window  , unsigned long  ,
4053                                    XSetWindowAttributes * ) ;   4053                                    XSetWindowAttributes * ) ;
4054 extern int XCheckIfEvent(Display * , XEvent * , int (*)(Display * , XEvent * ,   4054 extern int XCheckIfEvent(Display * , XEvent * , int (*)(Display * , XEvent * ,
4055                                                         XPointer  ) , XPointer  ) ;   4055                                                         XPointer  ) , XPointer  ) ;
4056 extern int XCheckMaskEvent(Display * , long  , XEvent * ) ;   4056 extern int XCheckMaskEvent(Display * , long  , XEvent * ) ;
4057 extern int XCheckTypedEvent(Display * , int  , XEvent * ) ;   4057 extern int XCheckTypedEvent(Display * , int  , XEvent * ) ;
4058 extern int XCheckTypedWindowEvent(Display * , Window  , int  , XEvent * ) ;   4058 extern int XCheckTypedWindowEvent(Display * , Window  , int  , XEvent * ) ;
4059 extern int XCheckWindowEvent(Display * , Window  , long  , XEvent * ) ;   4059 extern int XCheckWindowEvent(Display * , Window  , long  , XEvent * ) ;
4060 extern int XCirculateSubwindows(Display * , Window  , int  ) ;   4060 extern int XCirculateSubwindows(Display * , Window  , int  ) ;
4061 extern int XCirculateSubwindowsDown(Display * , Window  ) ;   4061 extern int XCirculateSubwindowsDown(Display * , Window  ) ;
4062 extern int XCirculateSubwindowsUp(Display * , Window  ) ;   4062 extern int XCirculateSubwindowsUp(Display * , Window  ) ;
4063 extern int XClearArea(Display * , Window  , int  , int  , unsigned int  ,   4063 extern int XClearArea(Display * , Window  , int  , int  , unsigned int  ,
4064                       unsigned int  , int  ) ;   4064                       unsigned int  , int  ) ;
4065 extern int XClearWindow(Display * , Window  ) ;   4065 extern int XClearWindow(Display * , Window  ) ;
4066 extern int XCloseDisplay(Display * ) ;   4066 extern int XCloseDisplay(Display * ) ;
4067 extern int XConfigureWindow(Display * , Window  , unsigned int  ,   4067 extern int XConfigureWindow(Display * , Window  , unsigned int  ,
4068                             XWindowChanges * ) ;   4068                             XWindowChanges * ) ;
4069 extern int XConnectionNumber(Display * ) ;   4069 extern int XConnectionNumber(Display * ) ;
4070 extern int XConvertSelection(Display * , Atom  , Atom  , Atom  , Window  ,   4070 extern int XConvertSelection(Display * , Atom  , Atom  , Atom  , Window  ,
4071                              Time  ) ;   4071                              Time  ) ;
4072 extern int XCopyArea(Display * , Drawable  , Drawable  , GC  , int  , int  ,   4072 extern int XCopyArea(Display * , Drawable  , Drawable  , GC  , int  , int  ,
4073                      unsigned int  , unsigned int  , int  , int  ) ;   4073                      unsigned int  , unsigned int  , int  , int  ) ;
4074 extern int XCopyGC(Display * , GC  , unsigned long  , GC  ) ;   4074 extern int XCopyGC(Display * , GC  , unsigned long  , GC  ) ;
4075 extern int XCopyPlane(Display * , Drawable  , Drawable  , GC  , int  , int  ,   4075 extern int XCopyPlane(Display * , Drawable  , Drawable  , GC  , int  , int  ,
4076                       unsigned int  , unsigned int  , int  , int  ,   4076                       unsigned int  , unsigned int  , int  , int  ,
4077                       unsigned long  ) ;   4077                       unsigned long  ) ;
4078 extern int XDefaultDepth(Display * , int  ) ;   4078 extern int XDefaultDepth(Display * , int  ) ;
4079 extern int XDefaultDepthOfScreen(Screen * ) ;   4079 extern int XDefaultDepthOfScreen(Screen * ) ;
4080 extern int XDefaultScreen(Display * ) ;   4080 extern int XDefaultScreen(Display * ) ;
4081 extern int XDefineCursor(Display * , Window  , Cursor  ) ;   4081 extern int XDefineCursor(Display * , Window  , Cursor  ) ;
4082 extern int XDeleteProperty(Display * , Window  , Atom  ) ;   4082 extern int XDeleteProperty(Display * , Window  , Atom  ) ;
4083 extern int XDestroyWindow(Display * , Window  ) ;   4083 extern int XDestroyWindow(Display * , Window  ) ;
4084 extern int XDestroySubwindows(Display * , Window  ) ;   4084 extern int XDestroySubwindows(Display * , Window  ) ;
4085 extern int XDoesBackingStore(Screen * ) ;   4085 extern int XDoesBackingStore(Screen * ) ;
4086 extern int XDoesSaveUnders(Screen * ) ;   4086 extern int XDoesSaveUnders(Screen * ) ;
4087 extern int XDisableAccessControl(Display * ) ;   4087 extern int XDisableAccessControl(Display * ) ;
4088 extern int XDisplayCells(Display * , int  ) ;   4088 extern int XDisplayCells(Display * , int  ) ;
4089 extern int XDisplayHeight(Display * , int  ) ;   4089 extern int XDisplayHeight(Display * , int  ) ;
4090 extern int XDisplayHeightMM(Display * , int  ) ;   4090 extern int XDisplayHeightMM(Display * , int  ) ;
4091 extern int XDisplayKeycodes(Display * , int * , int * ) ;   4091 extern int XDisplayKeycodes(Display * , int * , int * ) ;
4092 extern int XDisplayPlanes(Display * , int  ) ;   4092 extern int XDisplayPlanes(Display * , int  ) ;
4093 extern int XDisplayWidth(Display * , int  ) ;   4093 extern int XDisplayWidth(Display * , int  ) ;
4094 extern int XDisplayWidthMM(Display * , int  ) ;   4094 extern int XDisplayWidthMM(Display * , int  ) ;
4095 extern int XDrawArc(Display * , Drawable  , GC  , int  , int  , unsigned int  ,   4095 extern int XDrawArc(Display * , Drawable  , GC  , int  , int  , unsigned int  ,
4096                     unsigned int  , int  , int  ) ;   4096                     unsigned int  , int  , int  ) ;
4097 extern int XDrawArcs(Display * , Drawable  , GC  , XArc * , int  ) ;   4097 extern int XDrawArcs(Display * , Drawable  , GC  , XArc * , int  ) ;
4098 extern int XDrawImageString(Display * , Drawable  , GC  , int  , int  ,   4098 extern int XDrawImageString(Display * , Drawable  , GC  , int  , int  ,
4099                             char const   * , int  ) ;   4099                             char const   * , int  ) ;
4100 extern int XDrawImageString16(Display * , Drawable  , GC  , int  , int  ,   4100 extern int XDrawImageString16(Display * , Drawable  , GC  , int  , int  ,
4101                               XChar2b const   * , int  ) ;   4101                               XChar2b const   * , int  ) ;
4102 extern int XDrawLine(Display * , Drawable  , GC  , int  , int  , int  , int  ) ;   4102 extern int XDrawLine(Display * , Drawable  , GC  , int  , int  , int  , int  ) ;
4103 extern int XDrawLines(Display * , Drawable  , GC  , XPoint * , int  , int  ) ;   4103 extern int XDrawLines(Display * , Drawable  , GC  , XPoint * , int  , int  ) ;
4104 extern int XDrawPoint(Display * , Drawable  , GC  , int  , int  ) ;   4104 extern int XDrawPoint(Display * , Drawable  , GC  , int  , int  ) ;
4105 extern int XDrawPoints(Display * , Drawable  , GC  , XPoint * , int  , int  ) ;   4105 extern int XDrawPoints(Display * , Drawable  , GC  , XPoint * , int  , int  ) ;
4106 extern int XDrawRectangle(Display * , Drawable  , GC  , int  , int  ,   4106 extern int XDrawRectangle(Display * , Drawable  , GC  , int  , int  ,
4107                           unsigned int  , unsigned int  ) ;   4107                           unsigned int  , unsigned int  ) ;
4108 extern int XDrawRectangles(Display * , Drawable  , GC  , XRectangle * , int  ) ;   4108 extern int XDrawRectangles(Display * , Drawable  , GC  , XRectangle * , int  ) ;
4109 extern int XDrawSegments(Display * , Drawable  , GC  , XSegment * , int  ) ;   4109 extern int XDrawSegments(Display * , Drawable  , GC  , XSegment * , int  ) ;
4110 extern int XDrawString(Display * , Drawable  , GC  , int  , int  ,   4110 extern int XDrawString(Display * , Drawable  , GC  , int  , int  ,
4111                        char const   * , int  ) ;   4111                        char const   * , int  ) ;
4112 extern int XDrawString16(Display * , Drawable  , GC  , int  , int  ,   4112 extern int XDrawString16(Display * , Drawable  , GC  , int  , int  ,
4113                          XChar2b const   * , int  ) ;   4113                          XChar2b const   * , int  ) ;
4114 extern int XDrawText(Display * , Drawable  , GC  , int  , int  , XTextItem * ,   4114 extern int XDrawText(Display * , Drawable  , GC  , int  , int  , XTextItem * ,
4115                      int  ) ;   4115                      int  ) ;
4116 extern int XDrawText16(Display * , Drawable  , GC  , int  , int  ,   4116 extern int XDrawText16(Display * , Drawable  , GC  , int  , int  ,
4117                        XTextItem16 * , int  ) ;   4117                        XTextItem16 * , int  ) ;
4118 extern int XEnableAccessControl(Display * ) ;   4118 extern int XEnableAccessControl(Display * ) ;
4119 extern int XEventsQueued(Display * , int  ) ;   4119 extern int XEventsQueued(Display * , int  ) ;
4120 extern int XFetchName(Display * , Window  , char ** ) ;   4120 extern int XFetchName(Display * , Window  , char ** ) ;
4121 extern int XFillArc(Display * , Drawable  , GC  , int  , int  , unsigned int  ,   4121 extern int XFillArc(Display * , Drawable  , GC  , int  , int  , unsigned int  ,
4122                     unsigned int  , int  , int  ) ;   4122                     unsigned int  , int  , int  ) ;
4123 extern int XFillArcs(Display * , Drawable  , GC  , XArc * , int  ) ;   4123 extern int XFillArcs(Display * , Drawable  , GC  , XArc * , int  ) ;
4124 extern int XFillPolygon(Display * , Drawable  , GC  , XPoint * , int  , int  ,   4124 extern int XFillPolygon(Display * , Drawable  , GC  , XPoint * , int  , int  ,
4125                         int  ) ;   4125                         int  ) ;
4126 extern int XFillRectangle(Display * , Drawable  , GC  , int  , int  ,   4126 extern int XFillRectangle(Display * , Drawable  , GC  , int  , int  ,
4127                           unsigned int  , unsigned int  ) ;   4127                           unsigned int  , unsigned int  ) ;
4128 extern int XFillRectangles(Display * , Drawable  , GC  , XRectangle * , int  ) ;   4128 extern int XFillRectangles(Display * , Drawable  , GC  , XRectangle * , int  ) ;
4129 extern int XFlush(Display * ) ;   4129 extern int XFlush(Display * ) ;
4130 extern int XForceScreenSaver(Display * , int  ) ;   4130 extern int XForceScreenSaver(Display * , int  ) ;
4131 extern int XFree(void * ) ;   4131 extern int XFree(void * ) ;
4132 extern int XFreeColormap(Display * , Colormap  ) ;   4132 extern int XFreeColormap(Display * , Colormap  ) ;
4133 extern int XFreeColors(Display * , Colormap  , unsigned long * , int  ,   4133 extern int XFreeColors(Display * , Colormap  , unsigned long * , int  ,
4134                        unsigned long  ) ;   4134                        unsigned long  ) ;
4135 extern int XFreeCursor(Display * , Cursor  ) ;   4135 extern int XFreeCursor(Display * , Cursor  ) ;
4136 extern int XFreeExtensionList(char ** ) ;   4136 extern int XFreeExtensionList(char ** ) ;
4137 extern int XFreeFont(Display * , XFontStruct * ) ;   4137 extern int XFreeFont(Display * , XFontStruct * ) ;
4138 extern int XFreeFontInfo(char ** , XFontStruct * , int  ) ;   4138 extern int XFreeFontInfo(char ** , XFontStruct * , int  ) ;
4139 extern int XFreeFontNames(char ** ) ;   4139 extern int XFreeFontNames(char ** ) ;
4140 extern int XFreeFontPath(char ** ) ;   4140 extern int XFreeFontPath(char ** ) ;
4141 extern int XFreeGC(Display * , GC  ) ;   4141 extern int XFreeGC(Display * , GC  ) ;
4142 extern int XFreeModifiermap(XModifierKeymap * ) ;   4142 extern int XFreeModifiermap(XModifierKeymap * ) ;
4143 extern int XFreePixmap(Display * , Pixmap  ) ;   4143 extern int XFreePixmap(Display * , Pixmap  ) ;
4144 extern int XGeometry(Display * , int  , char const   * , char const   * ,   4144 extern int XGeometry(Display * , int  , char const   * , char const   * ,
4145                      unsigned int  , unsigned int  , unsigned int  , int  ,   4145                      unsigned int  , unsigned int  , unsigned int  , int  ,
4146                      int  , int * , int * , int * , int * ) ;   4146                      int  , int * , int * , int * , int * ) ;
4147 extern int XGetErrorDatabaseText(Display * , char const   * , char const   * ,   4147 extern int XGetErrorDatabaseText(Display * , char const   * , char const   * ,
4148                                  char const   * , char * , int  ) ;   4148                                  char const   * , char * , int  ) ;
4149 extern int XGetErrorText(Display * , int  , char * , int  ) ;   4149 extern int XGetErrorText(Display * , int  , char * , int  ) ;
4150 extern int XGetFontProperty(XFontStruct * , Atom  , unsigned long * ) ;   4150 extern int XGetFontProperty(XFontStruct * , Atom  , unsigned long * ) ;
4151 extern int XGetGCValues(Display * , GC  , unsigned long  , XGCValues * ) ;   4151 extern int XGetGCValues(Display * , GC  , unsigned long  , XGCValues * ) ;
4152 extern int XGetGeometry(Display * , Drawable  , Window * , int * , int * ,   4152 extern int XGetGeometry(Display * , Drawable  , Window * , int * , int * ,
4153                         unsigned int * , unsigned int * , unsigned int * ,   4153                         unsigned int * , unsigned int * , unsigned int * ,
4154                         unsigned int * ) ;   4154                         unsigned int * ) ;
4155 extern int XGetIconName(Display * , Window  , char ** ) ;   4155 extern int XGetIconName(Display * , Window  , char ** ) ;
4156 extern int XGetInputFocus(Display * , Window * , int * ) ;   4156 extern int XGetInputFocus(Display * , Window * , int * ) ;
4157 extern int XGetKeyboardControl(Display * , XKeyboardState * ) ;   4157 extern int XGetKeyboardControl(Display * , XKeyboardState * ) ;
4158 extern int XGetPointerControl(Display * , int * , int * , int * ) ;   4158 extern int XGetPointerControl(Display * , int * , int * , int * ) ;
4159 extern int XGetPointerMapping(Display * , unsigned char * , int  ) ;   4159 extern int XGetPointerMapping(Display * , unsigned char * , int  ) ;
4160 extern int XGetScreenSaver(Display * , int * , int * , int * , int * ) ;   4160 extern int XGetScreenSaver(Display * , int * , int * , int * , int * ) ;
4161 extern int XGetTransientForHint(Display * , Window  , Window * ) ;   4161 extern int XGetTransientForHint(Display * , Window  , Window * ) ;
4162 extern int XGetWindowProperty(Display * , Window  , Atom  , long  , long  ,   4162 extern int XGetWindowProperty(Display * , Window  , Atom  , long  , long  ,
4163                               int  , Atom  , Atom * , int * , unsigned long * ,   4163                               int  , Atom  , Atom * , int * , unsigned long * ,
4164                               unsigned long * , unsigned char ** ) ;   4164                               unsigned long * , unsigned char ** ) ;
4165 extern int XGetWindowAttributes(Display * , Window  , XWindowAttributes * ) ;   4165 extern int XGetWindowAttributes(Display * , Window  , XWindowAttributes * ) ;
4166 extern int XGrabButton(Display * , unsigned int  , unsigned int  , Window  ,   4166 extern int XGrabButton(Display * , unsigned int  , unsigned int  , Window  ,
4167                        int  , unsigned int  , int  , int  , Window  , Cursor  ) ;   4167                        int  , unsigned int  , int  , int  , Window  , Cursor  ) ;
4168 extern int XGrabKey(Display * , int  , unsigned int  , Window  , int  , int  ,   4168 extern int XGrabKey(Display * , int  , unsigned int  , Window  , int  , int  ,
4169                     int  ) ;   4169                     int  ) ;
4170 extern int XGrabKeyboard(Display * , Window  , int  , int  , int  , Time  ) ;   4170 extern int XGrabKeyboard(Display * , Window  , int  , int  , int  , Time  ) ;
4171 extern int XGrabPointer(Display * , Window  , int  , unsigned int  , int  ,   4171 extern int XGrabPointer(Display * , Window  , int  , unsigned int  , int  ,
4172                         int  , Window  , Cursor  , Time  ) ;   4172                         int  , Window  , Cursor  , Time  ) ;
4173 extern int XGrabServer(Display * ) ;   4173 extern int XGrabServer(Display * ) ;
4174 extern int XHeightMMOfScreen(Screen * ) ;   4174 extern int XHeightMMOfScreen(Screen * ) ;
4175 extern int XHeightOfScreen(Screen * ) ;   4175 extern int XHeightOfScreen(Screen * ) ;
4176 extern int XIfEvent(Display * , XEvent * , int (*)(Display * , XEvent * ,   4176 extern int XIfEvent(Display * , XEvent * , int (*)(Display * , XEvent * ,
4177                                                    XPointer  ) , XPointer  ) ;   4177                                                    XPointer  ) , XPointer  ) ;
4178 extern int XImageByteOrder(Display * ) ;   4178 extern int XImageByteOrder(Display * ) ;
4179 extern int XInstallColormap(Display * , Colormap  ) ;   4179 extern int XInstallColormap(Display * , Colormap  ) ;
4180 extern KeyCode XKeysymToKeycode(Display * , KeySym  ) ;   4180 extern KeyCode XKeysymToKeycode(Display * , KeySym  ) ;
4181 extern int XKillClient(Display * , XID  ) ;   4181 extern int XKillClient(Display * , XID  ) ;
4182 extern int XLookupColor(Display * , Colormap  , char const   * , XColor * ,   4182 extern int XLookupColor(Display * , Colormap  , char const   * , XColor * ,
4183                         XColor * ) ;   4183                         XColor * ) ;
4184 extern int XLowerWindow(Display * , Window  ) ;   4184 extern int XLowerWindow(Display * , Window  ) ;
4185 extern int XMapRaised(Display * , Window  ) ;   4185 extern int XMapRaised(Display * , Window  ) ;
4186 extern int XMapSubwindows(Display * , Window  ) ;   4186 extern int XMapSubwindows(Display * , Window  ) ;
4187 extern int XMapWindow(Display * , Window  ) ;   4187 extern int XMapWindow(Display * , Window  ) ;
4188 extern int XMaskEvent(Display * , long  , XEvent * ) ;   4188 extern int XMaskEvent(Display * , long  , XEvent * ) ;
4189 extern int XMaxCmapsOfScreen(Screen * ) ;   4189 extern int XMaxCmapsOfScreen(Screen * ) ;
4190 extern int XMinCmapsOfScreen(Screen * ) ;   4190 extern int XMinCmapsOfScreen(Screen * ) ;
4191 extern int XMoveResizeWindow(Display * , Window  , int  , int  , unsigned int  ,   4191 extern int XMoveResizeWindow(Display * , Window  , int  , int  , unsigned int  ,
4192                              unsigned int  ) ;   4192                              unsigned int  ) ;
4193 extern int XMoveWindow(Display * , Window  , int  , int  ) ;   4193 extern int XMoveWindow(Display * , Window  , int  , int  ) ;
4194 extern int XNextEvent(Display * , XEvent * ) ;   4194 extern int XNextEvent(Display * , XEvent * ) ;
4195 extern int XNoOp(Display * ) ;   4195 extern int XNoOp(Display * ) ;
4196 extern int XParseColor(Display * , Colormap  , char const   * , XColor * ) ;   4196 extern int XParseColor(Display * , Colormap  , char const   * , XColor * ) ;
4197 extern int XParseGeometry(char const   * , int * , int * , unsigned int * ,   4197 extern int XParseGeometry(char const   * , int * , int * , unsigned int * ,
4198                           unsigned int * ) ;   4198                           unsigned int * ) ;
4199 extern int XPeekEvent(Display * , XEvent * ) ;   4199 extern int XPeekEvent(Display * , XEvent * ) ;
4200 extern int XPeekIfEvent(Display * , XEvent * , int (*)(Display * , XEvent * ,   4200 extern int XPeekIfEvent(Display * , XEvent * , int (*)(Display * , XEvent * ,
4201                                                        XPointer  ) , XPointer  ) ;   4201                                                        XPointer  ) , XPointer  ) ;
4202 extern int XPending(Display * ) ;   4202 extern int XPending(Display * ) ;
4203 extern int XPlanesOfScreen(Screen * ) ;   4203 extern int XPlanesOfScreen(Screen * ) ;
4204 extern int XProtocolRevision(Display * ) ;   4204 extern int XProtocolRevision(Display * ) ;
4205 extern int XProtocolVersion(Display * ) ;   4205 extern int XProtocolVersion(Display * ) ;
4206 extern int XPutBackEvent(Display * , XEvent * ) ;   4206 extern int XPutBackEvent(Display * , XEvent * ) ;
4207 extern int XPutImage(Display * , Drawable  , GC  , XImage * , int  , int  ,   4207 extern int XPutImage(Display * , Drawable  , GC  , XImage * , int  , int  ,
4208                      int  , int  , unsigned int  , unsigned int  ) ;   4208                      int  , int  , unsigned int  , unsigned int  ) ;
4209 extern int XQLength(Display * ) ;   4209 extern int XQLength(Display * ) ;
4210 extern int XQueryBestCursor(Display * , Drawable  , unsigned int  ,   4210 extern int XQueryBestCursor(Display * , Drawable  , unsigned int  ,
4211                             unsigned int  , unsigned int * , unsigned int * ) ;   4211                             unsigned int  , unsigned int * , unsigned int * ) ;
4212 extern int XQueryBestSize(Display * , int  , Drawable  , unsigned int  ,   4212 extern int XQueryBestSize(Display * , int  , Drawable  , unsigned int  ,
4213                           unsigned int  , unsigned int * , unsigned int * ) ;   4213                           unsigned int  , unsigned int * , unsigned int * ) ;
4214 extern int XQueryBestStipple(Display * , Drawable  , unsigned int  ,   4214 extern int XQueryBestStipple(Display * , Drawable  , unsigned int  ,
4215                              unsigned int  , unsigned int * , unsigned int * ) ;   4215                              unsigned int  , unsigned int * , unsigned int * ) ;
4216 extern int XQueryBestTile(Display * , Drawable  , unsigned int  ,   4216 extern int XQueryBestTile(Display * , Drawable  , unsigned int  ,
4217                           unsigned int  , unsigned int * , unsigned int * ) ;   4217                           unsigned int  , unsigned int * , unsigned int * ) ;
4218 extern int XQueryColor(Display * , Colormap  , XColor * ) ;   4218 extern int XQueryColor(Display * , Colormap  , XColor * ) ;
4219 extern int XQueryColors(Display * , Colormap  , XColor * , int  ) ;   4219 extern int XQueryColors(Display * , Colormap  , XColor * , int  ) ;
4220 extern int XQueryExtension(Display * , char const   * , int * , int * , int * ) ;   4220 extern int XQueryExtension(Display * , char const   * , int * , int * , int * ) ;
4221 extern int XQueryKeymap(Display * , char * ) ;   4221 extern int XQueryKeymap(Display * , char * ) ;
4222 extern int XQueryPointer(Display * , Window  , Window * , Window * , int * ,   4222 extern int XQueryPointer(Display * , Window  , Window * , Window * , int * ,
4223                          int * , int * , int * , unsigned int * ) ;   4223                          int * , int * , int * , unsigned int * ) ;
4224 extern int XQueryTextExtents(Display * , XID  , char const   * , int  , int * ,   4224 extern int XQueryTextExtents(Display * , XID  , char const   * , int  , int * ,
4225                              int * , int * , XCharStruct * ) ;   4225                              int * , int * , XCharStruct * ) ;
4226 extern int XQueryTextExtents16(Display * , XID  , XChar2b const   * , int  ,   4226 extern int XQueryTextExtents16(Display * , XID  , XChar2b const   * , int  ,
4227                                int * , int * , int * , XCharStruct * ) ;   4227                                int * , int * , int * , XCharStruct * ) ;
4228 extern int XQueryTree(Display * , Window  , Window * , Window * , Window ** ,   4228 extern int XQueryTree(Display * , Window  , Window * , Window * , Window ** ,
4229                       unsigned int * ) ;   4229                       unsigned int * ) ;
4230 extern int XRaiseWindow(Display * , Window  ) ;   4230 extern int XRaiseWindow(Display * , Window  ) ;
4231 extern int XReadBitmapFile(Display * , Drawable  , char const   * ,   4231 extern int XReadBitmapFile(Display * , Drawable  , char const   * ,
4232                            unsigned int * , unsigned int * , Pixmap * , int * ,   4232                            unsigned int * , unsigned int * , Pixmap * , int * ,
4233                            int * ) ;   4233                            int * ) ;
4234 extern int XReadBitmapFileData(char const   * , unsigned int * ,   4234 extern int XReadBitmapFileData(char const   * , unsigned int * ,
4235                                unsigned int * , unsigned char ** , int * ,   4235                                unsigned int * , unsigned char ** , int * ,
4236                                int * ) ;   4236                                int * ) ;
4237 extern int XRebindKeysym(Display * , KeySym  , KeySym * , int  ,   4237 extern int XRebindKeysym(Display * , KeySym  , KeySym * , int  ,
4238                          unsigned char const   * , int  ) ;   4238                          unsigned char const   * , int  ) ;
4239 extern int XRecolorCursor(Display * , Cursor  , XColor * , XColor * ) ;   4239 extern int XRecolorCursor(Display * , Cursor  , XColor * , XColor * ) ;
4240 extern int XRefreshKeyboardMapping(XMappingEvent * ) ;   4240 extern int XRefreshKeyboardMapping(XMappingEvent * ) ;
4241 extern int XRemoveFromSaveSet(Display * , Window  ) ;   4241 extern int XRemoveFromSaveSet(Display * , Window  ) ;
4242 extern int XRemoveHost(Display * , XHostAddress * ) ;   4242 extern int XRemoveHost(Display * , XHostAddress * ) ;
4243 extern int XRemoveHosts(Display * , XHostAddress * , int  ) ;   4243 extern int XRemoveHosts(Display * , XHostAddress * , int  ) ;
4244 extern int XReparentWindow(Display * , Window  , Window  , int  , int  ) ;   4244 extern int XReparentWindow(Display * , Window  , Window  , int  , int  ) ;
4245 extern int XResetScreenSaver(Display * ) ;   4245 extern int XResetScreenSaver(Display * ) ;
4246 extern int XResizeWindow(Display * , Window  , unsigned int  , unsigned int  ) ;   4246 extern int XResizeWindow(Display * , Window  , unsigned int  , unsigned int  ) ;
4247 extern int XRestackWindows(Display * , Window * , int  ) ;   4247 extern int XRestackWindows(Display * , Window * , int  ) ;
4248 extern int XRotateBuffers(Display * , int  ) ;   4248 extern int XRotateBuffers(Display * , int  ) ;
4249 extern int XRotateWindowProperties(Display * , Window  , Atom * , int  , int  ) ;   4249 extern int XRotateWindowProperties(Display * , Window  , Atom * , int  , int  ) ;
4250 extern int XScreenCount(Display * ) ;   4250 extern int XScreenCount(Display * ) ;
4251 extern int XSelectInput(Display * , Window  , long  ) ;   4251 extern int XSelectInput(Display * , Window  , long  ) ;
4252 extern int XSendEvent(Display * , Window  , int  , long  , XEvent * ) ;   4252 extern int XSendEvent(Display * , Window  , int  , long  , XEvent * ) ;
4253 extern int XSetAccessControl(Display * , int  ) ;   4253 extern int XSetAccessControl(Display * , int  ) ;
4254 extern int XSetArcMode(Display * , GC  , int  ) ;   4254 extern int XSetArcMode(Display * , GC  , int  ) ;
4255 extern int XSetBackground(Display * , GC  , unsigned long  ) ;   4255 extern int XSetBackground(Display * , GC  , unsigned long  ) ;
4256 extern int XSetClipMask(Display * , GC  , Pixmap  ) ;   4256 extern int XSetClipMask(Display * , GC  , Pixmap  ) ;
4257 extern int XSetClipOrigin(Display * , GC  , int  , int  ) ;   4257 extern int XSetClipOrigin(Display * , GC  , int  , int  ) ;
4258 extern int XSetClipRectangles(Display * , GC  , int  , int  , XRectangle * ,   4258 extern int XSetClipRectangles(Display * , GC  , int  , int  , XRectangle * ,
4259                               int  , int  ) ;   4259                               int  , int  ) ;
4260 extern int XSetCloseDownMode(Display * , int  ) ;   4260 extern int XSetCloseDownMode(Display * , int  ) ;
4261 extern int XSetCommand(Display * , Window  , char ** , int  ) ;   4261 extern int XSetCommand(Display * , Window  , char ** , int  ) ;
4262 extern int XSetDashes(Display * , GC  , int  , char const   * , int  ) ;   4262 extern int XSetDashes(Display * , GC  , int  , char const   * , int  ) ;
4263 extern int XSetFillRule(Display * , GC  , int  ) ;   4263 extern int XSetFillRule(Display * , GC  , int  ) ;
4264 extern int XSetFillStyle(Display * , GC  , int  ) ;   4264 extern int XSetFillStyle(Display * , GC  , int  ) ;
4265 extern int XSetFont(Display * , GC  , Font  ) ;   4265 extern int XSetFont(Display * , GC  , Font  ) ;
4266 extern int XSetFontPath(Display * , char ** , int  ) ;   4266 extern int XSetFontPath(Display * , char ** , int  ) ;
4267 extern int XSetForeground(Display * , GC  , unsigned long  ) ;   4267 extern int XSetForeground(Display * , GC  , unsigned long  ) ;
4268 extern int XSetFunction(Display * , GC  , int  ) ;   4268 extern int XSetFunction(Display * , GC  , int  ) ;
4269 extern int XSetGraphicsExposures(Display * , GC  , int  ) ;   4269 extern int XSetGraphicsExposures(Display * , GC  , int  ) ;
4270 extern int XSetIconName(Display * , Window  , char const   * ) ;   4270 extern int XSetIconName(Display * , Window  , char const   * ) ;
4271 extern int XSetInputFocus(Display * , Window  , int  , Time  ) ;   4271 extern int XSetInputFocus(Display * , Window  , int  , Time  ) ;
4272 extern int XSetLineAttributes(Display * , GC  , unsigned int  , int  , int  ,   4272 extern int XSetLineAttributes(Display * , GC  , unsigned int  , int  , int  ,
4273                               int  ) ;   4273                               int  ) ;
4274 extern int XSetModifierMapping(Display * , XModifierKeymap * ) ;   4274 extern int XSetModifierMapping(Display * , XModifierKeymap * ) ;
4275 extern int XSetPlaneMask(Display * , GC  , unsigned long  ) ;   4275 extern int XSetPlaneMask(Display * , GC  , unsigned long  ) ;
4276 extern int XSetPointerMapping(Display * , unsigned char const   * , int  ) ;   4276 extern int XSetPointerMapping(Display * , unsigned char const   * , int  ) ;
4277 extern int XSetScreenSaver(Display * , int  , int  , int  , int  ) ;   4277 extern int XSetScreenSaver(Display * , int  , int  , int  , int  ) ;
4278 extern int XSetSelectionOwner(Display * , Atom  , Window  , Time  ) ;   4278 extern int XSetSelectionOwner(Display * , Atom  , Window  , Time  ) ;
4279 extern int XSetState(Display * , GC  , unsigned long  , unsigned long  , int  ,   4279 extern int XSetState(Display * , GC  , unsigned long  , unsigned long  , int  ,
4280                      unsigned long  ) ;   4280                      unsigned long  ) ;
4281 extern int XSetStipple(Display * , GC  , Pixmap  ) ;   4281 extern int XSetStipple(Display * , GC  , Pixmap  ) ;
4282 extern int XSetSubwindowMode(Display * , GC  , int  ) ;   4282 extern int XSetSubwindowMode(Display * , GC  , int  ) ;
4283 extern int XSetTSOrigin(Display * , GC  , int  , int  ) ;   4283 extern int XSetTSOrigin(Display * , GC  , int  , int  ) ;
4284 extern int XSetTile(Display * , GC  , Pixmap  ) ;   4284 extern int XSetTile(Display * , GC  , Pixmap  ) ;
4285 extern int XSetWindowBackground(Display * , Window  , unsigned long  ) ;   4285 extern int XSetWindowBackground(Display * , Window  , unsigned long  ) ;
4286 extern int XSetWindowBackgroundPixmap(Display * , Window  , Pixmap  ) ;   4286 extern int XSetWindowBackgroundPixmap(Display * , Window  , Pixmap  ) ;
4287 extern int XSetWindowBorder(Display * , Window  , unsigned long  ) ;   4287 extern int XSetWindowBorder(Display * , Window  , unsigned long  ) ;
4288 extern int XSetWindowBorderPixmap(Display * , Window  , Pixmap  ) ;   4288 extern int XSetWindowBorderPixmap(Display * , Window  , Pixmap  ) ;
4289 extern int XSetWindowBorderWidth(Display * , Window  , unsigned int  ) ;   4289 extern int XSetWindowBorderWidth(Display * , Window  , unsigned int  ) ;
4290 extern int XSetWindowColormap(Display * , Window  , Colormap  ) ;   4290 extern int XSetWindowColormap(Display * , Window  , Colormap  ) ;
4291 extern int XStoreBuffer(Display * , char const   * , int  , int  ) ;   4291 extern int XStoreBuffer(Display * , char const   * , int  , int  ) ;
4292 extern int XStoreBytes(Display * , char const   * , int  ) ;   4292 extern int XStoreBytes(Display * , char const   * , int  ) ;
4293 extern int XStoreColor(Display * , Colormap  , XColor * ) ;   4293 extern int XStoreColor(Display * , Colormap  , XColor * ) ;
4294 extern int XStoreColors(Display * , Colormap  , XColor * , int  ) ;   4294 extern int XStoreColors(Display * , Colormap  , XColor * , int  ) ;
4295 extern int XStoreName(Display * , Window  , char const   * ) ;   4295 extern int XStoreName(Display * , Window  , char const   * ) ;
4296 extern int XStoreNamedColor(Display * , Colormap  , char const   * ,   4296 extern int XStoreNamedColor(Display * , Colormap  , char const   * ,
4297                             unsigned long  , int  ) ;   4297                             unsigned long  , int  ) ;
4298 extern int XSync(Display * , int  ) ;   4298 extern int XSync(Display * , int  ) ;
4299 extern int XTextExtents(XFontStruct * , char const   * , int  , int * , int * ,   4299 extern int XTextExtents(XFontStruct * , char const   * , int  , int * , int * ,
4300                         int * , XCharStruct * ) ;   4300                         int * , XCharStruct * ) ;
4301 extern int XTextExtents16(XFontStruct * , XChar2b const   * , int  , int * ,   4301 extern int XTextExtents16(XFontStruct * , XChar2b const   * , int  , int * ,
4302                           int * , int * , XCharStruct * ) ;   4302                           int * , int * , XCharStruct * ) ;
4303 extern int XTextWidth(XFontStruct * , char const   * , int  ) ;   4303 extern int XTextWidth(XFontStruct * , char const   * , int  ) ;
4304 extern int XTextWidth16(XFontStruct * , XChar2b const   * , int  ) ;   4304 extern int XTextWidth16(XFontStruct * , XChar2b const   * , int  ) ;
4305 extern int XTranslateCoordinates(Display * , Window  , Window  , int  , int  ,   4305 extern int XTranslateCoordinates(Display * , Window  , Window  , int  , int  ,
4306                                  int * , int * , Window * ) ;   4306                                  int * , int * , Window * ) ;
4307 extern int XUndefineCursor(Display * , Window  ) ;   4307 extern int XUndefineCursor(Display * , Window  ) ;
4308 extern int XUngrabButton(Display * , unsigned int  , unsigned int  , Window  ) ;   4308 extern int XUngrabButton(Display * , unsigned int  , unsigned int  , Window  ) ;
4309 extern int XUngrabKey(Display * , int  , unsigned int  , Window  ) ;   4309 extern int XUngrabKey(Display * , int  , unsigned int  , Window  ) ;
4310 extern int XUngrabKeyboard(Display * , Time  ) ;   4310 extern int XUngrabKeyboard(Display * , Time  ) ;
4311 extern int XUngrabPointer(Display * , Time  ) ;   4311 extern int XUngrabPointer(Display * , Time  ) ;
4312 extern int XUngrabServer(Display * ) ;   4312 extern int XUngrabServer(Display * ) ;
4313 extern int XUninstallColormap(Display * , Colormap  ) ;   4313 extern int XUninstallColormap(Display * , Colormap  ) ;
4314 extern int XUnloadFont(Display * , Font  ) ;   4314 extern int XUnloadFont(Display * , Font  ) ;
4315 extern int XUnmapSubwindows(Display * , Window  ) ;   4315 extern int XUnmapSubwindows(Display * , Window  ) ;
4316 extern int XUnmapWindow(Display * , Window  ) ;   4316 extern int XUnmapWindow(Display * , Window  ) ;
4317 extern int XVendorRelease(Display * ) ;   4317 extern int XVendorRelease(Display * ) ;
4318 extern int XWarpPointer(Display * , Window  , Window  , int  , int  ,   4318 extern int XWarpPointer(Display * , Window  , Window  , int  , int  ,
4319                         unsigned int  , unsigned int  , int  , int  ) ;   4319                         unsigned int  , unsigned int  , int  , int  ) ;
4320 extern int XWidthMMOfScreen(Screen * ) ;   4320 extern int XWidthMMOfScreen(Screen * ) ;
4321 extern int XWidthOfScreen(Screen * ) ;   4321 extern int XWidthOfScreen(Screen * ) ;
4322 extern int XWindowEvent(Display * , Window  , long  , XEvent * ) ;   4322 extern int XWindowEvent(Display * , Window  , long  , XEvent * ) ;
4323 extern int XWriteBitmapFile(Display * , char const   * , Pixmap  ,   4323 extern int XWriteBitmapFile(Display * , char const   * , Pixmap  ,
4324                             unsigned int  , unsigned int  , int  , int  ) ;   4324                             unsigned int  , unsigned int  , int  , int  ) ;
4325 extern int XSupportsLocale(void) ;   4325 extern int XSupportsLocale(void) ;
4326 extern char *XSetLocaleModifiers(char const   * ) ;   4326 extern char *XSetLocaleModifiers(char const   * ) ;
4327 extern XOM XOpenOM(Display * , struct _XrmHashBucketRec * , char const   * ,   4327 extern XOM XOpenOM(Display * , struct _XrmHashBucketRec * , char const   * ,
4328                    char const   * ) ;   4328                    char const   * ) ;
4329 extern int XCloseOM(XOM  ) ;   4329 extern int XCloseOM(XOM  ) ;
4330 extern char *XSetOMValues(XOM   , ...)  __attribute__((__sentinel__(0))) ;   4330 extern char *XSetOMValues(XOM   , ...)  __attribute__((__sentinel__(0))) ;
4331 extern char *XGetOMValues(XOM   , ...)  __attribute__((__sentinel__(0))) ;   4331 extern char *XGetOMValues(XOM   , ...)  __attribute__((__sentinel__(0))) ;
4332 extern Display *XDisplayOfOM(XOM  ) ;   4332 extern Display *XDisplayOfOM(XOM  ) ;
4333 extern char *XLocaleOfOM(XOM  ) ;   4333 extern char *XLocaleOfOM(XOM  ) ;
4334 extern XOC XCreateOC(XOM   , ...)  __attribute__((__sentinel__(0))) ;   4334 extern XOC XCreateOC(XOM   , ...)  __attribute__((__sentinel__(0))) ;
4335 extern void XDestroyOC(XOC  ) ;   4335 extern void XDestroyOC(XOC  ) ;
4336 extern XOM XOMOfOC(XOC  ) ;   4336 extern XOM XOMOfOC(XOC  ) ;
4337 extern char *XSetOCValues(XOC   , ...)  __attribute__((__sentinel__(0))) ;   4337 extern char *XSetOCValues(XOC   , ...)  __attribute__((__sentinel__(0))) ;
4338 extern char *XGetOCValues(XOC   , ...)  __attribute__((__sentinel__(0))) ;   4338 extern char *XGetOCValues(XOC   , ...)  __attribute__((__sentinel__(0))) ;
4339 extern XFontSet XCreateFontSet(Display * , char const   * , char *** , int * ,   4339 extern XFontSet XCreateFontSet(Display * , char const   * , char *** , int * ,
4340                                char ** ) ;   4340                                char ** ) ;
4341 extern void XFreeFontSet(Display * , XFontSet  ) ;   4341 extern void XFreeFontSet(Display * , XFontSet  ) ;
4342 extern int XFontsOfFontSet(XFontSet  , XFontStruct *** , char *** ) ;   4342 extern int XFontsOfFontSet(XFontSet  , XFontStruct *** , char *** ) ;
4343 extern char *XBaseFontNameListOfFontSet(XFontSet  ) ;   4343 extern char *XBaseFontNameListOfFontSet(XFontSet  ) ;
4344 extern char *XLocaleOfFontSet(XFontSet  ) ;   4344 extern char *XLocaleOfFontSet(XFontSet  ) ;
4345 extern int XContextDependentDrawing(XFontSet  ) ;   4345 extern int XContextDependentDrawing(XFontSet  ) ;
4346 extern int XDirectionalDependentDrawing(XFontSet  ) ;   4346 extern int XDirectionalDependentDrawing(XFontSet  ) ;
4347 extern int XContextualDrawing(XFontSet  ) ;   4347 extern int XContextualDrawing(XFontSet  ) ;
4348 extern XFontSetExtents *XExtentsOfFontSet(XFontSet  ) ;   4348 extern XFontSetExtents *XExtentsOfFontSet(XFontSet  ) ;
4349 extern int XmbTextEscapement(XFontSet  , char const   * , int  ) ;   4349 extern int XmbTextEscapement(XFontSet  , char const   * , int  ) ;
4350 extern int XwcTextEscapement(XFontSet  , wchar_t const   * , int  ) ;   4350 extern int XwcTextEscapement(XFontSet  , wchar_t const   * , int  ) ;
4351 extern int Xutf8TextEscapement(XFontSet  , char const   * , int  ) ;   4351 extern int Xutf8TextEscapement(XFontSet  , char const   * , int  ) ;
4352 extern int XmbTextExtents(XFontSet  , char const   * , int  , XRectangle * ,   4352 extern int XmbTextExtents(XFontSet  , char const   * , int  , XRectangle * ,
4353                           XRectangle * ) ;   4353                           XRectangle * ) ;
4354 extern int XwcTextExtents(XFontSet  , wchar_t const   * , int  , XRectangle * ,   4354 extern int XwcTextExtents(XFontSet  , wchar_t const   * , int  , XRectangle * ,
4355                           XRectangle * ) ;   4355                           XRectangle * ) ;
4356 extern int Xutf8TextExtents(XFontSet  , char const   * , int  , XRectangle * ,   4356 extern int Xutf8TextExtents(XFontSet  , char const   * , int  , XRectangle * ,
4357                             XRectangle * ) ;   4357                             XRectangle * ) ;
4358 extern int XmbTextPerCharExtents(XFontSet  , char const   * , int  ,   4358 extern int XmbTextPerCharExtents(XFontSet  , char const   * , int  ,
4359                                  XRectangle * , XRectangle * , int  , int * ,   4359                                  XRectangle * , XRectangle * , int  , int * ,
4360                                  XRectangle * , XRectangle * ) ;   4360                                  XRectangle * , XRectangle * ) ;
4361 extern int XwcTextPerCharExtents(XFontSet  , wchar_t const   * , int  ,   4361 extern int XwcTextPerCharExtents(XFontSet  , wchar_t const   * , int  ,
4362                                  XRectangle * , XRectangle * , int  , int * ,   4362                                  XRectangle * , XRectangle * , int  , int * ,
4363                                  XRectangle * , XRectangle * ) ;   4363                                  XRectangle * , XRectangle * ) ;
4364 extern int Xutf8TextPerCharExtents(XFontSet  , char const   * , int  ,   4364 extern int Xutf8TextPerCharExtents(XFontSet  , char const   * , int  ,
4365                                    XRectangle * , XRectangle * , int  , int * ,   4365                                    XRectangle * , XRectangle * , int  , int * ,
4366                                    XRectangle * , XRectangle * ) ;   4366                                    XRectangle * , XRectangle * ) ;
4367 extern void XmbDrawText(Display * , Drawable  , GC  , int  , int  ,   4367 extern void XmbDrawText(Display * , Drawable  , GC  , int  , int  ,
4368                         XmbTextItem * , int  ) ;   4368                         XmbTextItem * , int  ) ;
4369 extern void XwcDrawText(Display * , Drawable  , GC  , int  , int  ,   4369 extern void XwcDrawText(Display * , Drawable  , GC  , int  , int  ,
4370                         XwcTextItem * , int  ) ;   4370                         XwcTextItem * , int  ) ;
4371 extern void Xutf8DrawText(Display * , Drawable  , GC  , int  , int  ,   4371 extern void Xutf8DrawText(Display * , Drawable  , GC  , int  , int  ,
4372                           XmbTextItem * , int  ) ;   4372                           XmbTextItem * , int  ) ;
4373 extern void XmbDrawString(Display * , Drawable  , XFontSet  , GC  , int  ,   4373 extern void XmbDrawString(Display * , Drawable  , XFontSet  , GC  , int  ,
4374                           int  , char const   * , int  ) ;   4374                           int  , char const   * , int  ) ;
4375 extern void XwcDrawString(Display * , Drawable  , XFontSet  , GC  , int  ,   4375 extern void XwcDrawString(Display * , Drawable  , XFontSet  , GC  , int  ,
4376                           int  , wchar_t const   * , int  ) ;   4376                           int  , wchar_t const   * , int  ) ;
4377 extern void Xutf8DrawString(Display * , Drawable  , XFontSet  , GC  , int  ,   4377 extern void Xutf8DrawString(Display * , Drawable  , XFontSet  , GC  , int  ,
4378                             int  , char const   * , int  ) ;   4378                             int  , char const   * , int  ) ;
4379 extern void XmbDrawImageString(Display * , Drawable  , XFontSet  , GC  , int  ,   4379 extern void XmbDrawImageString(Display * , Drawable  , XFontSet  , GC  , int  ,
4380                                int  , char const   * , int  ) ;   4380                                int  , char const   * , int  ) ;
4381 extern void XwcDrawImageString(Display * , Drawable  , XFontSet  , GC  , int  ,   4381 extern void XwcDrawImageString(Display * , Drawable  , XFontSet  , GC  , int  ,
4382                                int  , wchar_t const   * , int  ) ;   4382                                int  , wchar_t const   * , int  ) ;
4383 extern void Xutf8DrawImageString(Display * , Drawable  , XFontSet  , GC  ,   4383 extern void Xutf8DrawImageString(Display * , Drawable  , XFontSet  , GC  ,
4384                                  int  , int  , char const   * , int  ) ;   4384                                  int  , int  , char const   * , int  ) ;
4385 extern XIM XOpenIM(Display * , struct _XrmHashBucketRec * , char * , char * ) ;   4385 extern XIM XOpenIM(Display * , struct _XrmHashBucketRec * , char * , char * ) ;
4386 extern int XCloseIM(XIM  ) ;   4386 extern int XCloseIM(XIM  ) ;
4387 extern char *XGetIMValues(XIM   , ...)  __attribute__((__sentinel__(0))) ;   4387 extern char *XGetIMValues(XIM   , ...)  __attribute__((__sentinel__(0))) ;
4388 extern char *XSetIMValues(XIM   , ...)  __attribute__((__sentinel__(0))) ;   4388 extern char *XSetIMValues(XIM   , ...)  __attribute__((__sentinel__(0))) ;
4389 extern Display *XDisplayOfIM(XIM  ) ;   4389 extern Display *XDisplayOfIM(XIM  ) ;
4390 extern char *XLocaleOfIM(XIM  ) ;   4390 extern char *XLocaleOfIM(XIM  ) ;
4391 extern XIC XCreateIC(XIM   , ...)  __attribute__((__sentinel__(0))) ;   4391 extern XIC XCreateIC(XIM   , ...)  __attribute__((__sentinel__(0))) ;
4392 extern void XDestroyIC(XIC  ) ;   4392 extern void XDestroyIC(XIC  ) ;
4393 extern void XSetICFocus(XIC  ) ;   4393 extern void XSetICFocus(XIC  ) ;
4394 extern void XUnsetICFocus(XIC  ) ;   4394 extern void XUnsetICFocus(XIC  ) ;
4395 extern wchar_t *XwcResetIC(XIC  ) ;   4395 extern wchar_t *XwcResetIC(XIC  ) ;
4396 extern char *XmbResetIC(XIC  ) ;   4396 extern char *XmbResetIC(XIC  ) ;
4397 extern char *Xutf8ResetIC(XIC  ) ;   4397 extern char *Xutf8ResetIC(XIC  ) ;
4398 extern char *XSetICValues(XIC   , ...)  __attribute__((__sentinel__(0))) ;   4398 extern char *XSetICValues(XIC   , ...)  __attribute__((__sentinel__(0))) ;
4399 extern char *XGetICValues(XIC   , ...)  __attribute__((__sentinel__(0))) ;   4399 extern char *XGetICValues(XIC   , ...)  __attribute__((__sentinel__(0))) ;
4400 extern XIM XIMOfIC(XIC  ) ;   4400 extern XIM XIMOfIC(XIC  ) ;
4401 extern int XFilterEvent(XEvent * , Window  ) ;   4401 extern int XFilterEvent(XEvent * , Window  ) ;
4402 extern int XmbLookupString(XIC  , XKeyPressedEvent * , char * , int  ,   4402 extern int XmbLookupString(XIC  , XKeyPressedEvent * , char * , int  ,
4403                            KeySym * , int * ) ;   4403                            KeySym * , int * ) ;
4404 extern int XwcLookupString(XIC  , XKeyPressedEvent * , wchar_t * , int  ,   4404 extern int XwcLookupString(XIC  , XKeyPressedEvent * , wchar_t * , int  ,
4405                            KeySym * , int * ) ;   4405                            KeySym * , int * ) ;
4406 extern int Xutf8LookupString(XIC  , XKeyPressedEvent * , char * , int  ,   4406 extern int Xutf8LookupString(XIC  , XKeyPressedEvent * , char * , int  ,
4407                              KeySym * , int * ) ;   4407                              KeySym * , int * ) ;
4408 extern XVaNestedList XVaCreateNestedList(int   , ...)  __attribute__((__sentinel__(0))) ;   4408 extern XVaNestedList XVaCreateNestedList(int   , ...)  __attribute__((__sentinel__(0))) ;
4409 extern int XRegisterIMInstantiateCallback(Display * ,   4409 extern int XRegisterIMInstantiateCallback(Display * ,
4410                                           struct _XrmHashBucketRec * , char * ,   4410                                           struct _XrmHashBucketRec * , char * ,
4411                                           char * , void (*)(Display * ,   4411                                           char * , void (*)(Display * ,
4412                                                             XPointer  ,   4412                                                             XPointer  ,
4413                                                             XPointer  ) ,   4413                                                             XPointer  ) ,
4414                                           XPointer  ) ;   4414                                           XPointer  ) ;
4415 extern int XUnregisterIMInstantiateCallback(Display * ,   4415 extern int XUnregisterIMInstantiateCallback(Display * ,
4416                                             struct _XrmHashBucketRec * ,   4416                                             struct _XrmHashBucketRec * ,
4417                                             char * , char * ,   4417                                             char * , char * ,
4418                                             void (*)(Display * , XPointer  ,   4418                                             void (*)(Display * , XPointer  ,
4419                                                      XPointer  ) , XPointer  ) ;   4419                                                      XPointer  ) , XPointer  ) ;
4420 extern int XInternalConnectionNumbers(Display * , int ** , int * ) ;   4420 extern int XInternalConnectionNumbers(Display * , int ** , int * ) ;
4421 extern void XProcessInternalConnection(Display * , int  ) ;   4421 extern void XProcessInternalConnection(Display * , int  ) ;
4422 extern int XAddConnectionWatch(Display * , void (*)(Display * , XPointer  ,   4422 extern int XAddConnectionWatch(Display * , void (*)(Display * , XPointer  ,
4423                                                     int  , int  , XPointer * ) ,   4423                                                     int  , int  , XPointer * ) ,
4424                                XPointer  ) ;   4424                                XPointer  ) ;
4425 extern void XRemoveConnectionWatch(Display * , void (*)(Display * , XPointer  ,   4425 extern void XRemoveConnectionWatch(Display * , void (*)(Display * , XPointer  ,
4426                                                         int  , int  ,   4426                                                         int  , int  ,
4427                                                         XPointer * ) ,   4427                                                         XPointer * ) ,
4428                                    XPointer  ) ;   4428                                    XPointer  ) ;
4429 extern void XSetAuthorization(char * , int  , char * , int  ) ;   4429 extern void XSetAuthorization(char * , int  , char * , int  ) ;
4430 extern int _Xmbtowc(wchar_t * , char * , int  ) ;   4430 extern int _Xmbtowc(wchar_t * , char * , int  ) ;
4431 extern int _Xwctomb(char * , wchar_t  ) ;   4431 extern int _Xwctomb(char * , wchar_t  ) ;
4432 extern int XGetEventData(Display * , XGenericEventCookie * ) ;   4432 extern int XGetEventData(Display * , XGenericEventCookie * ) ;
4433 extern void XFreeEventData(Display * , XGenericEventCookie * ) ;   4433 extern void XFreeEventData(Display * , XGenericEventCookie * ) ;
4434 extern char PC ;   4434 extern char PC ;
4435 extern char *UP ;   4435 extern char *UP ;
4436 extern char *BC ;   4436 extern char *BC ;
4437 extern unsigned int ospeed ;   4437 extern unsigned int ospeed ;
4438 extern char *tgetstr(char * , char ** ) ;   4438 extern char *tgetstr(char * , char ** ) ;
4439 extern char *tgoto(char const   * , int  , int  ) ;   4439 extern char *tgoto(char const   * , int  , int  ) ;
4440 extern int tgetent(char * , char const   * ) ;   4440 extern int tgetent(char * , char const   * ) ;
4441 extern int tgetflag(char * ) ;   4441 extern int tgetflag(char * ) ;
4442 extern int tgetnum(char * ) ;   4442 extern int tgetnum(char * ) ;
4443 extern int tputs(char const   * , int  , int (*)(int  ) ) ;   4443 extern int tputs(char const   * , int  , int (*)(int  ) ) ;
4444 extern  __attribute__((__nothrow__)) int ioperm(unsigned long __from ,   4444 extern  __attribute__((__nothrow__)) int ioperm(unsigned long __from ,
4445                                                 unsigned long __num ,   4445                                                 unsigned long __num ,
4446                                                 int __turn_on ) ;   4446                                                 int __turn_on ) ;
4447 extern  __attribute__((__nothrow__)) int iopl(int __level ) ;   4447 extern  __attribute__((__nothrow__)) int iopl(int __level ) ;
4448 __inline static unsigned char inb(unsigned short __port )   4448 __inline static unsigned char inb(unsigned short __port )
4449 {   4449 {
4450   unsigned char _v ;   4450   unsigned char _v ;
4451     4451  
4452   {   4452   {
4453   __asm__  volatile   ("inb %w1,%0": "=a" (_v): "Nd" (__port));   4453   __asm__  volatile   ("inb %w1,%0": "=a" (_v): "Nd" (__port));
4454   return (_v);   4454   return (_v);
4455 }   4455 }
4456 }   4456 }
4457 __inline static unsigned char inb_p(unsigned short __port )   4457 __inline static unsigned char inb_p(unsigned short __port )
4458 {   4458 {
4459   unsigned char _v ;   4459   unsigned char _v ;
4460     4460  
4461   {   4461   {
4462   __asm__  volatile   ("inb %w1,%0\noutb %%al,$0x80": "=a" (_v): "Nd" (__port));   4462   __asm__  volatile   ("inb %w1,%0\noutb %%al,$0x80": "=a" (_v): "Nd" (__port));
4463   return (_v);   4463   return (_v);
4464 }   4464 }
4465 }   4465 }
4466 __inline static unsigned short inw(unsigned short __port )   4466 __inline static unsigned short inw(unsigned short __port )
4467 {   4467 {
4468   unsigned short _v ;   4468   unsigned short _v ;
4469     4469  
4470   {   4470   {
4471   __asm__  volatile   ("inw %w1,%0": "=a" (_v): "Nd" (__port));   4471   __asm__  volatile   ("inw %w1,%0": "=a" (_v): "Nd" (__port));
4472   return (_v);   4472   return (_v);
4473 }   4473 }
4474 }   4474 }
4475 __inline static unsigned short inw_p(unsigned short __port )   4475 __inline static unsigned short inw_p(unsigned short __port )
4476 {   4476 {
4477   unsigned short _v ;   4477   unsigned short _v ;
4478     4478  
4479   {   4479   {
4480   __asm__  volatile   ("inw %w1,%0\noutb %%al,$0x80": "=a" (_v): "Nd" (__port));   4480   __asm__  volatile   ("inw %w1,%0\noutb %%al,$0x80": "=a" (_v): "Nd" (__port));
4481   return (_v);   4481   return (_v);
4482 }   4482 }
4483 }   4483 }
4484 __inline static unsigned int inl(unsigned short __port )   4484 __inline static unsigned int inl(unsigned short __port )
4485 {   4485 {
4486   unsigned int _v ;   4486   unsigned int _v ;
4487     4487  
4488   {   4488   {
4489   __asm__  volatile   ("inl %w1,%0": "=a" (_v): "Nd" (__port));   4489   __asm__  volatile   ("inl %w1,%0": "=a" (_v): "Nd" (__port));
4490   return (_v);   4490   return (_v);
4491 }   4491 }
4492 }   4492 }
4493 __inline static unsigned int inl_p(unsigned short __port )   4493 __inline static unsigned int inl_p(unsigned short __port )
4494 {   4494 {
4495   unsigned int _v ;   4495   unsigned int _v ;
4496     4496  
4497   {   4497   {
4498   __asm__  volatile   ("inl %w1,%0\noutb %%al,$0x80": "=a" (_v): "Nd" (__port));   4498   __asm__  volatile   ("inl %w1,%0\noutb %%al,$0x80": "=a" (_v): "Nd" (__port));
4499   return (_v);   4499   return (_v);
4500 }   4500 }
4501 }   4501 }
4502 __inline static void outb(unsigned char value , unsigned short __port )   4502 __inline static void outb(unsigned char value , unsigned short __port )
4503 {   4503 {
4504     4504  
4505     4505  
4506   {   4506   {
4507   __asm__  volatile   ("outb %b0,%w1": : "a" (value), "Nd" (__port));   4507   __asm__  volatile   ("outb %b0,%w1": : "a" (value), "Nd" (__port));
4508   return;   4508   return;
4509 }   4509 }
4510 }   4510 }
4511 __inline static void outb_p(unsigned char value , unsigned short __port )   4511 __inline static void outb_p(unsigned char value , unsigned short __port )
4512 {   4512 {
4513     4513  
4514     4514  
4515   {   4515   {
4516   __asm__  volatile   ("outb %b0,%w1\noutb %%al,$0x80": : "a" (value),   4516   __asm__  volatile   ("outb %b0,%w1\noutb %%al,$0x80": : "a" (value),
4517                        "Nd" (__port));   4517                        "Nd" (__port));
4518   return;   4518   return;
4519 }   4519 }
4520 }   4520 }
4521 __inline static void outw(unsigned short value , unsigned short __port )   4521 __inline static void outw(unsigned short value , unsigned short __port )
4522 {   4522 {
4523     4523  
4524     4524  
4525   {   4525   {
4526   __asm__  volatile   ("outw %w0,%w1": : "a" (value), "Nd" (__port));   4526   __asm__  volatile   ("outw %w0,%w1": : "a" (value), "Nd" (__port));
4527   return;   4527   return;
4528 }   4528 }
4529 }   4529 }
4530 __inline static void outw_p(unsigned short value , unsigned short __port )   4530 __inline static void outw_p(unsigned short value , unsigned short __port )
4531 {   4531 {
4532     4532  
4533     4533  
4534   {   4534   {
4535   __asm__  volatile   ("outw %w0,%w1\noutb %%al,$0x80": : "a" (value),   4535   __asm__  volatile   ("outw %w0,%w1\noutb %%al,$0x80": : "a" (value),
4536                        "Nd" (__port));   4536                        "Nd" (__port));
4537   return;   4537   return;
4538 }   4538 }
4539 }   4539 }
4540 __inline static void outl(unsigned int value , unsigned short __port )   4540 __inline static void outl(unsigned int value , unsigned short __port )
4541 {   4541 {
4542     4542  
4543     4543  
4544   {   4544   {
4545   __asm__  volatile   ("outl %0,%w1": : "a" (value), "Nd" (__port));   4545   __asm__  volatile   ("outl %0,%w1": : "a" (value), "Nd" (__port));
4546   return;   4546   return;
4547 }   4547 }
4548 }   4548 }
4549 __inline static void outl_p(unsigned int value , unsigned short __port )   4549 __inline static void outl_p(unsigned int value , unsigned short __port )
4550 {   4550 {
4551     4551  
4552     4552  
4553   {   4553   {
4554   __asm__  volatile   ("outl %0,%w1\noutb %%al,$0x80": : "a" (value),   4554   __asm__  volatile   ("outl %0,%w1\noutb %%al,$0x80": : "a" (value),
4555                        "Nd" (__port));   4555                        "Nd" (__port));
4556   return;   4556   return;
4557 }   4557 }
4558 }   4558 }
4559 __inline static void insb(unsigned short __port , void *__addr ,   4559 __inline static void insb(unsigned short __port , void *__addr ,
4560                           unsigned long __count )   4560                           unsigned long __count )
4561 {   4561 {
4562     4562  
4563     4563  
4564   {   4564   {
4565   __asm__  volatile   ("cld ; rep ; insb": "=D" (__addr),   4565   __asm__  volatile   ("cld ; rep ; insb": "=D" (__addr),
4566                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));   4566                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));
4567   return;   4567   return;
4568 }   4568 }
4569 }   4569 }
4570 __inline static void insw(unsigned short __port , void *__addr ,   4570 __inline static void insw(unsigned short __port , void *__addr ,
4571                           unsigned long __count )   4571                           unsigned long __count )
4572 {   4572 {
4573     4573  
4574     4574  
4575   {   4575   {
4576   __asm__  volatile   ("cld ; rep ; insw": "=D" (__addr),   4576   __asm__  volatile   ("cld ; rep ; insw": "=D" (__addr),
4577                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));   4577                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));
4578   return;   4578   return;
4579 }   4579 }
4580 }   4580 }
4581 __inline static void insl(unsigned short __port , void *__addr ,   4581 __inline static void insl(unsigned short __port , void *__addr ,
4582                           unsigned long __count )   4582                           unsigned long __count )
4583 {   4583 {
4584     4584  
4585     4585  
4586   {   4586   {
4587   __asm__  volatile   ("cld ; rep ; insl": "=D" (__addr),   4587   __asm__  volatile   ("cld ; rep ; insl": "=D" (__addr),
4588                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));   4588                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));
4589   return;   4589   return;
4590 }   4590 }
4591 }   4591 }
4592 __inline static void outsb(unsigned short __port , void const   *__addr ,   4592 __inline static void outsb(unsigned short __port , void const   *__addr ,
4593                            unsigned long __count )   4593                            unsigned long __count )
4594 {   4594 {
4595     4595  
4596     4596  
4597   {   4597   {
4598   __asm__  volatile   ("cld ; rep ; outsb": "=S" (__addr),   4598   __asm__  volatile   ("cld ; rep ; outsb": "=S" (__addr),
4599                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));   4599                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));
4600   return;   4600   return;
4601 }   4601 }
4602 }   4602 }
4603 __inline static void outsw(unsigned short __port , void const   *__addr ,   4603 __inline static void outsw(unsigned short __port , void const   *__addr ,
4604                            unsigned long __count )   4604                            unsigned long __count )
4605 {   4605 {
4606     4606  
4607     4607  
4608   {   4608   {
4609   __asm__  volatile   ("cld ; rep ; outsw": "=S" (__addr),   4609   __asm__  volatile   ("cld ; rep ; outsw": "=S" (__addr),
4610                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));   4610                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));
4611   return;   4611   return;
4612 }   4612 }
4613 }   4613 }
4614 __inline static void outsl(unsigned short __port , void const   *__addr ,   4614 __inline static void outsl(unsigned short __port , void const   *__addr ,
4615                            unsigned long __count )   4615                            unsigned long __count )
4616 {   4616 {
4617     4617  
4618     4618  
4619   {   4619   {
4620   __asm__  volatile   ("cld ; rep ; outsl": "=S" (__addr),   4620   __asm__  volatile   ("cld ; rep ; outsl": "=S" (__addr),
4621                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));   4621                        "=c" (__count): "d" (__port), "0" (__addr), "1" (__count));
4622   return;   4622   return;
4623 }   4623 }
4624 }   4624 }
4625 extern  __attribute__((__nothrow__)) int ioctl(int __fd ,   4625 extern  __attribute__((__nothrow__)) int ioctl(int __fd ,
4626                                                unsigned long __request  , ...) ;   4626                                                unsigned long __request  , ...) ;
4627 extern FBCONSOLE __fb_con ;   4627 extern FBCONSOLE __fb_con ;
4628 extern int fb_hTermOut(int code , int param1 , int param2 ) ;   4628 extern int fb_hTermOut(int code , int param1 , int param2 ) ;
4629 extern int fb_hGetCh(int remove ) ;   4629 extern int fb_hGetCh(int remove ) ;
4630 extern int fb_hXTermInitFocus(void) ;   4630 extern int fb_hXTermInitFocus(void) ;
4631 extern void fb_hXTermExitFocus(void) ;   4631 extern void fb_hXTermExitFocus(void) ;
4632 extern int fb_hXTermHasFocus(void) ;   4632 extern int fb_hXTermHasFocus(void) ;
4633 extern int fb_hConsoleGfxMode(void (*gfx_exit)(void) , void (*save)(void) ,   4633 extern int fb_hConsoleGfxMode(void (*gfx_exit)(void) , void (*save)(void) ,
4634                               void (*restore)(void) ,   4634                               void (*restore)(void) ,
4635                               void (*key_handler)(int  ) ) ;   4635                               void (*key_handler)(int  ) ) ;
4636 extern pthread_mutex_t __fb_global_mutex ;   4636 extern pthread_mutex_t __fb_global_mutex ;
4637 extern pthread_mutex_t __fb_string_mutex ;   4637 extern pthread_mutex_t __fb_string_mutex ;
4638 extern int fb_hInitConsole(void) ;   4638 extern int fb_hInitConsole(void) ;
4639 extern void fb_hExitConsole(void) ;   4639 extern void fb_hExitConsole(void) ;
4640 extern void fb_unix_hInit(void) ;   4640 extern void fb_unix_hInit(void) ;
4641 extern void fb_unix_hEnd(int unused ) ;   4641 extern void fb_unix_hEnd(int unused ) ;
4642 extern KeysymToScancode const   fb_keysym_to_scancode[] ;   4642 extern KeysymToScancode const   fb_keysym_to_scancode[] ;
4643 extern  __attribute__((__nothrow__)) void *mmap(void *__addr , size_t __len ,   4643 extern  __attribute__((__nothrow__)) void *mmap(void *__addr , size_t __len ,
4644                                                 int __prot , int __flags ,   4644                                                 int __prot , int __flags ,
4645                                                 int __fd , __off64_t __offset )  __asm__("mmap64")  ;   4645                                                 int __fd , __off64_t __offset )  __asm__("mmap64")  ;
4646 extern  __attribute__((__nothrow__)) int munmap(void *__addr , size_t __len ) ;   4646 extern  __attribute__((__nothrow__)) int munmap(void *__addr , size_t __len ) ;
4647 extern  __attribute__((__nothrow__)) int mprotect(void *__addr , size_t __len ,   4647 extern  __attribute__((__nothrow__)) int mprotect(void *__addr , size_t __len ,
4648                                                   int __prot ) ;   4648                                                   int __prot ) ;
4649 extern int msync(void *__addr , size_t __len , int __flags ) ;   4649 extern int msync(void *__addr , size_t __len , int __flags ) ;
4650 extern  __attribute__((__nothrow__)) int madvise(void *__addr , size_t __len ,   4650 extern  __attribute__((__nothrow__)) int madvise(void *__addr , size_t __len ,
4651                                                  int __advice ) ;   4651                                                  int __advice ) ;
4652 extern  __attribute__((__nothrow__)) int posix_madvise(void *__addr ,   4652 extern  __attribute__((__nothrow__)) int posix_madvise(void *__addr ,
4653                                                        size_t __len ,   4653                                                        size_t __len ,
4654                                                        int __advice ) ;   4654                                                        int __advice ) ;
4655 extern  __attribute__((__nothrow__)) int mlock(void const   *__addr ,   4655 extern  __attribute__((__nothrow__)) int mlock(void const   *__addr ,
4656                                                size_t __len ) ;   4656                                                size_t __len ) ;
4657 extern  __attribute__((__nothrow__)) int munlock(void const   *__addr ,   4657 extern  __attribute__((__nothrow__)) int munlock(void const   *__addr ,
4658                                                  size_t __len ) ;   4658                                                  size_t __len ) ;
4659 extern  __attribute__((__nothrow__)) int mlockall(int __flags ) ;   4659 extern  __attribute__((__nothrow__)) int mlockall(int __flags ) ;
4660 extern  __attribute__((__nothrow__)) int munlockall(void) ;   4660 extern  __attribute__((__nothrow__)) int munlockall(void) ;
4661 extern  __attribute__((__nothrow__)) int mincore(void *__start , size_t __len ,   4661 extern  __attribute__((__nothrow__)) int mincore(void *__start , size_t __len ,
4662                                                  unsigned char *__vec ) ;   4662                                                  unsigned char *__vec ) ;
4663 extern int shm_open(char const   *__name , int __oflag , mode_t __mode ) ;   4663 extern int shm_open(char const   *__name , int __oflag , mode_t __mode ) ;
4664 extern int shm_unlink(char const   *__name ) ;   4664 extern int shm_unlink(char const   *__name ) ;
4665 __inline static int FB_MEMCMP(void const   *p1 , void const   *p2 , size_t len )   4665 __inline static int FB_MEMCMP(void const   *p1 , void const   *p2 , size_t len )
4666 {   4666 {
4667   int res ;   4667   int res ;
4668     4668  
4669   {   4669   {
4670   if (len == 0U) {   4670   if (len == 0U) {
4671     return (0);   4671     return (0);
4672   } else {   4672   } else {
4673     4673  
4674   }   4674   }
4675   __asm__  volatile   (" pushl %%esi      \n"   4675   __asm__  volatile   (" pushl %%esi      \n"
4676                        " pushl %%edi      \n"   4676                        " pushl %%edi      \n"
4677                        " repe             \n"   4677                        " repe             \n"
4678                        " cmpsb            \n"   4678                        " cmpsb            \n"
4679                        " je 0f            \n"   4679                        " je 0f            \n"
4680                        " movl $1, %%ecx   \n"   4680                        " movl $1, %%ecx   \n"
4681                        " ja 0f            \n"   4681                        " ja 0f            \n"
4682                        " neg %%ecx        \n"   4682                        " neg %%ecx        \n"
4683                        "0:                \n"   4683                        "0:                \n"
4684                        " popl %%edi       \n"   4684                        " popl %%edi       \n"
4685                        " popl %%esi       \n": "=c" (res): "c" (len), "S" (p1),   4685                        " popl %%esi       \n": "=c" (res): "c" (len), "S" (p1),
4686                        "D" (p2));   4686                        "D" (p2));
4687   return (res);   4687   return (res);
4688 }   4688 }
4689 }   4689 }
4690 __inline static void *FB_MEMCPY(void *dest , void const   *src , size_t n )   4690 __inline static void *FB_MEMCPY(void *dest , void const   *src , size_t n )
4691 {   4691 {
4692     4692  
4693     4693  
4694   {   4694   {
4695   __asm__  volatile   (" pushl %%ecx      \n"   4695   __asm__  volatile   (" pushl %%ecx      \n"
4696                        " pushl %%esi      \n"   4696                        " pushl %%esi      \n"
4697                        " pushl %%edi      \n"   4697                        " pushl %%edi      \n"
4698                        " pushl %%ecx      \n"   4698                        " pushl %%ecx      \n"
4699                        " shrl $2,%%ecx    \n"   4699                        " shrl $2,%%ecx    \n"
4700                        " rep              \n"   4700                        " rep              \n"
4701                        " movsd            \n"   4701                        " movsd            \n"
4702                        " popl %%ecx       \n"   4702                        " popl %%ecx       \n"
4703                        " andl $3,%%ecx    \n"   4703                        " andl $3,%%ecx    \n"
4704                        " rep              \n"   4704                        " rep              \n"
4705                        " movsb            \n"   4705                        " movsb            \n"
4706                        " popl %%edi       \n"   4706                        " popl %%edi       \n"
4707                        " popl %%esi       \n"   4707                        " popl %%esi       \n"
4708                        " popl %%ecx       \n": : "c" (n), "S" (src), "D" (dest));   4708                        " popl %%ecx       \n": : "c" (n), "S" (src), "D" (dest));
4709   return (dest);   4709   return (dest);
4710 }   4710 }
4711 }   4711 }
4712 __inline static void *FB_MEMCPYX(void *dest , void const   *src , size_t n )   4712 __inline static void *FB_MEMCPYX(void *dest , void const   *src , size_t n )
4713 {   4713 {
4714     4714  
4715     4715  
4716   {   4716   {
4717   __asm__  volatile   (" pushl %%ecx      \n"   4717   __asm__  volatile   (" pushl %%ecx      \n"
4718                        " pushl %%esi      \n"   4718                        " pushl %%esi      \n"
4719                        " pushl %%ecx      \n"   4719                        " pushl %%ecx      \n"
4720                        " shrl $2,%%ecx    \n"   4720                        " shrl $2,%%ecx    \n"
4721                        " rep              \n"   4721                        " rep              \n"
4722                        " movsd            \n"   4722                        " movsd            \n"
4723                        " popl %%ecx       \n"   4723                        " popl %%ecx       \n"
4724                        " andl $3,%%ecx    \n"   4724                        " andl $3,%%ecx    \n"
4725                        " rep              \n"   4725                        " rep              \n"
4726                        " movsb            \n"   4726                        " movsb            \n"
4727                        " popl %%esi       \n"   4727                        " popl %%esi       \n"
4728                        " popl %%ecx       \n": "=D" (dest): "c" (n), "S" (src),   4728                        " popl %%ecx       \n": "=D" (dest): "c" (n), "S" (src),
4729                        "D" (dest));   4729                        "D" (dest));
4730   return (dest);   4730   return (dest);
4731 }   4731 }
4732 }   4732 }
4733 __inline static void const   *FB_MEMCHR(void const   *s , int c , size_t n )   4733 __inline static void const   *FB_MEMCHR(void const   *s , int c , size_t n )
4734 {   4734 {
4735   void const   *dst ;   4735   void const   *dst ;
4736     4736  
4737   {   4737   {
4738   if (n == 0U) {   4738   if (n == 0U) {
4739     return ((void const   *)((void *)0));   4739     return ((void const   *)((void *)0));
4740   } else {   4740   } else {
4741     4741  
4742   }   4742   }
4743   __asm__  volatile   (" pushl %%ecx            \n"   4743   __asm__  volatile   (" pushl %%ecx            \n"
4744                        " pushf                  \n"   4744                        " pushf                  \n"
4745                        " cld                    \n"   4745                        " cld                    \n"
4746                        " repne                  \n"   4746                        " repne                  \n"
4747                        " scasb                  \n"   4747                        " scasb                  \n"
4748                        " jne 0f                 \n"   4748                        " jne 0f                 \n"
4749                        " dec %%edi              \n"   4749                        " dec %%edi              \n"
4750                        " jmp 1f                 \n"   4750                        " jmp 1f                 \n"
4751                        "0:                      \n"   4751                        "0:                      \n"
4752                        " xorl %%edi, %%edi      \n"   4752                        " xorl %%edi, %%edi      \n"
4753                        "1:                      \n"   4753                        "1:                      \n"
4754                        " popf                   \n"   4754                        " popf                   \n"
4755                        " popl %%ecx             \n": "=D" (dst): "c" (n),   4755                        " popl %%ecx             \n": "=D" (dst): "c" (n),
4756                        "a" (c), "D" (s));   4756                        "a" (c), "D" (s));
4757   return (dst);   4757   return (dst);
4758 }   4758 }
4759 }   4759 }
4760 __inline static size_t FB_MEMLEN(void const   *s , int c , size_t n )   4760 __inline static size_t FB_MEMLEN(void const   *s , int c , size_t n )
4761 {   4761 {
4762   size_t len ;   4762   size_t len ;
4763     4763  
4764   {   4764   {
4765   if (n == 0U) {   4765   if (n == 0U) {
4766     return ((size_t )0);   4766     return ((size_t )0);
4767   } else {   4767   } else {
4768     4768  
4769   }   4769   }
4770   __asm__  volatile   (" pushl %%edi            \n"   4770   __asm__  volatile   (" pushl %%edi            \n"
4771                        " pushf                  \n"   4771                        " pushf                  \n"
4772                        " std                    \n"   4772                        " std                    \n"
4773                        " repe                   \n"   4773                        " repe                   \n"
4774                        " scasb                  \n"   4774                        " scasb                  \n"
4775                        " je 0f                  \n"   4775                        " je 0f                  \n"
4776                        " inc %%ecx              \n"   4776                        " inc %%ecx              \n"
4777                        "0:                      \n"   4777                        "0:                      \n"
4778                        " popf                   \n"   4778                        " popf                   \n"
4779                        " popl %%edi             \n": "=c" (len): "c" (n),   4779                        " popl %%edi             \n": "=c" (len): "c" (n),
4780                        "a" (c), "D" (((char const   *)s + n) - 1));   4780                        "a" (c), "D" (((char const   *)s + n) - 1));
4781   return (len);   4781   return (len);
4782 }   4782 }
4783 }   4783 }
4784 extern int fb_CpuDetect(void) ;   4784 extern int fb_CpuDetect(void) ;
4785 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,   4785 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,
4786                                                                                        void const   * __restrict  __src ,   4786                                                                                        void const   * __restrict  __src ,
4787                                                                                        size_t __n ) ;   4787                                                                                        size_t __n ) ;
4788 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,   4788 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,
4789                                                                                         void const   *__src ,   4789                                                                                         void const   *__src ,
4790                                                                                         size_t __n ) ;   4790                                                                                         size_t __n ) ;
4791 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,   4791 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,
4792                                                                                         void const   * __restrict  __src ,   4792                                                                                         void const   * __restrict  __src ,
4793                                                                                         int __c ,   4793                                                                                         int __c ,
4794                                                                                         size_t __n ) ;   4794                                                                                         size_t __n ) ;
4795 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,   4795 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,
4796                                                                                      int __c ,   4796                                                                                      int __c ,
4797                                                                                      size_t __n ) ;   4797                                                                                      size_t __n ) ;
4798 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,   4798 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,
4799                                                                                      void const   *__s2 ,   4799                                                                                      void const   *__s2 ,
4800                                                                                      size_t __n )  __attribute__((__pure__)) ;   4800                                                                                      size_t __n )  __attribute__((__pure__)) ;
4801 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,   4801 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,
4802                                                                                      int __c ,   4802                                                                                      int __c ,
4803                                                                                      size_t __n )  __attribute__((__pure__)) ;   4803                                                                                      size_t __n )  __attribute__((__pure__)) ;
4804 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,   4804 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,
4805                                                                                        char const   * __restrict  __src ) ;   4805                                                                                        char const   * __restrict  __src ) ;
4806 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,   4806 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,
4807                                                                                         char const   * __restrict  __src ,   4807                                                                                         char const   * __restrict  __src ,
4808                                                                                         size_t __n ) ;   4808                                                                                         size_t __n ) ;
4809 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,   4809 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,
4810                                                                                        char const   * __restrict  __src ) ;   4810                                                                                        char const   * __restrict  __src ) ;
4811 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,   4811 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,
4812                                                                                         char const   * __restrict  __src ,   4812                                                                                         char const   * __restrict  __src ,
4813                                                                                         size_t __n ) ;   4813                                                                                         size_t __n ) ;
4814 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,   4814 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,
4815                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;   4815                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;
4816 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,   4816 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,
4817                                                                                       char const   *__s2 ,   4817                                                                                       char const   *__s2 ,
4818                                                                                       size_t __n )  __attribute__((__pure__)) ;   4818                                                                                       size_t __n )  __attribute__((__pure__)) ;
4819 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,   4819 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,
4820                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;   4820                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;
4821 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,   4821 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,
4822                                                                                        char const   * __restrict  __src ,   4822                                                                                        char const   * __restrict  __src ,
4823                                                                                        size_t __n ) ;   4823                                                                                        size_t __n ) ;
4824 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,   4824 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,
4825                                                                                           char const   *__s2 ,   4825                                                                                           char const   *__s2 ,
4826                                                                                           __locale_t __l )  __attribute__((__pure__)) ;   4826                                                                                           __locale_t __l )  __attribute__((__pure__)) ;
4827 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,   4827 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,
4828                                                                                            char const   *__src ,   4828                                                                                            char const   *__src ,
4829                                                                                            size_t __n ,   4829                                                                                            size_t __n ,
4830                                                                                            __locale_t __l ) ;   4830                                                                                            __locale_t __l ) ;
4831 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;   4831 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;
4832 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,   4832 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,
4833                                                                                       size_t __n )  __attribute__((__malloc__)) ;   4833                                                                                       size_t __n )  __attribute__((__malloc__)) ;
4834 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,   4834 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,
4835                                                                                      int __c )  __attribute__((__pure__)) ;   4835                                                                                      int __c )  __attribute__((__pure__)) ;
4836 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,   4836 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,
4837                                                                                       int __c )  __attribute__((__pure__)) ;   4837                                                                                       int __c )  __attribute__((__pure__)) ;
4838 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,   4838 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,
4839                                                                                          char const   *__reject )  __attribute__((__pure__)) ;   4839                                                                                          char const   *__reject )  __attribute__((__pure__)) ;
4840 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,   4840 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,
4841                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   4841                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
4842 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,   4842 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,
4843                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   4843                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
4844 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,   4844 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,
4845                                                                                        char const   *__needle )  __attribute__((__pure__)) ;   4845                                                                                        char const   *__needle )  __attribute__((__pure__)) ;
4846 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,   4846 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,
4847                                                                                      char const   * __restrict  __delim ) ;   4847                                                                                      char const   * __restrict  __delim ) ;
4848 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,   4848 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,
4849                                                                                            char const   * __restrict  __delim ,   4849                                                                                            char const   * __restrict  __delim ,
4850                                                                                            char ** __restrict  __save_ptr ) ;   4850                                                                                            char ** __restrict  __save_ptr ) ;
4851 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,   4851 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,
4852                                                                                          char const   * __restrict  __delim ,   4852                                                                                          char const   * __restrict  __delim ,
4853                                                                                          char ** __restrict  __save_ptr ) ;   4853                                                                                          char ** __restrict  __save_ptr ) ;
4854 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;   4854 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;
4855 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,   4855 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,
4856                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;   4856                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;
4857 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;   4857 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
4858 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,   4858 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,
4859                                                                                        char *__buf ,   4859                                                                                        char *__buf ,
4860                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;   4860                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;
4861 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,   4861 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,
4862                                                       __locale_t __l ) ;   4862                                                       __locale_t __l ) ;
4863 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,   4863 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,
4864                                                                                      size_t __n ) ;   4864                                                                                      size_t __n ) ;
4865 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,   4865 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,
4866                                                                                      void *__dest ,   4866                                                                                      void *__dest ,
4867                                                                                      size_t __n ) ;   4867                                                                                      size_t __n ) ;
4868 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,   4868 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,
4869                                                                                    size_t __n ) ;   4869                                                                                    size_t __n ) ;
4870 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,   4870 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,
4871                                                                                    void const   *__s2 ,   4871                                                                                    void const   *__s2 ,
4872                                                                                    size_t __n )  __attribute__((__pure__)) ;   4872                                                                                    size_t __n )  __attribute__((__pure__)) ;
4873 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,   4873 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,
4874                                                                                     int __c )  __attribute__((__pure__)) ;   4874                                                                                     int __c )  __attribute__((__pure__)) ;
4875 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,   4875 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,
4876                                                                                      int __c )  __attribute__((__pure__)) ;   4876                                                                                      int __c )  __attribute__((__pure__)) ;
4877 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;   4877 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
4878 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,   4878 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,
4879                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;   4879                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;
4880 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,   4880 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,
4881                                                                                           char const   *__s2 ,   4881                                                                                           char const   *__s2 ,
4882                                                                                           size_t __n )  __attribute__((__pure__)) ;   4882                                                                                           size_t __n )  __attribute__((__pure__)) ;
4883 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,   4883 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,
4884                                                                                        char const   * __restrict  __delim ) ;   4884                                                                                        char const   * __restrict  __delim ) ;
4885 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;   4885 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
4886 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,   4886 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,
4887                                                                                          char const   * __restrict  __src ) ;   4887                                                                                          char const   * __restrict  __src ) ;
4888 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,   4888 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,
4889                                                                                        char const   * __restrict  __src ) ;   4889                                                                                        char const   * __restrict  __src ) ;
4890 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,   4890 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,
4891                                                                                           char const   * __restrict  __src ,   4891                                                                                           char const   * __restrict  __src ,
4892                                                                                           size_t __n ) ;   4892                                                                                           size_t __n ) ;
4893 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,   4893 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,
4894                                                                                         char const   * __restrict  __src ,   4894                                                                                         char const   * __restrict  __src ,
4895                                                                                         size_t __n ) ;   4895                                                                                         size_t __n ) ;
4896 extern void *__rawmemchr(void const   *__s , int __c ) ;   4896 extern void *__rawmemchr(void const   *__s , int __c ) ;
4897 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;   4897 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;
4898 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )   4898 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )
4899 {   4899 {
4900   register size_t __result ;   4900   register size_t __result ;
4901     4901  
4902   {   4902   {
4903   __result = (size_t )0;   4903   __result = (size_t )0;
4904   while (1) {   4904   while (1) {
4905     if ((int const   )*(__s + __result) != 0) {   4905     if ((int const   )*(__s + __result) != 0) {
4906       if ((int const   )*(__s + __result) != (int const   )__reject) {   4906       if ((int const   )*(__s + __result) != (int const   )__reject) {
4907     4907  
4908       } else {   4908       } else {
4909         break;   4909         break;
4910       }   4910       }
4911     } else {   4911     } else {
4912       break;   4912       break;
4913     }   4913     }
4914     __result ++;   4914     __result ++;
4915   }   4915   }
4916   return (__result);   4916   return (__result);
4917 }   4917 }
4918 }   4918 }
4919 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   4919 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
4920                                     int __reject2 ) ;   4920                                     int __reject2 ) ;
4921 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   4921 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
4922                                     int __reject2 )   4922                                     int __reject2 )
4923 {   4923 {
4924   register size_t __result ;   4924   register size_t __result ;
4925     4925  
4926   {   4926   {
4927   __result = (size_t )0;   4927   __result = (size_t )0;
4928   while (1) {   4928   while (1) {
4929     if ((int const   )*(__s + __result) != 0) {   4929     if ((int const   )*(__s + __result) != 0) {
4930       if ((int const   )*(__s + __result) != (int const   )__reject1) {   4930       if ((int const   )*(__s + __result) != (int const   )__reject1) {
4931         if ((int const   )*(__s + __result) != (int const   )__reject2) {   4931         if ((int const   )*(__s + __result) != (int const   )__reject2) {
4932     4932  
4933         } else {   4933         } else {
4934           break;   4934           break;
4935         }   4935         }
4936       } else {   4936       } else {
4937         break;   4937         break;
4938       }   4938       }
4939     } else {   4939     } else {
4940       break;   4940       break;
4941     }   4941     }
4942     __result ++;   4942     __result ++;
4943   }   4943   }
4944   return (__result);   4944   return (__result);
4945 }   4945 }
4946 }   4946 }
4947 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   4947 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
4948                                     int __reject2 , int __reject3 ) ;   4948                                     int __reject2 , int __reject3 ) ;
4949 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   4949 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
4950                                     int __reject2 , int __reject3 )   4950                                     int __reject2 , int __reject3 )
4951 {   4951 {
4952   register size_t __result ;   4952   register size_t __result ;
4953     4953  
4954   {   4954   {
4955   __result = (size_t )0;   4955   __result = (size_t )0;
4956   while (1) {   4956   while (1) {
4957     if ((int const   )*(__s + __result) != 0) {   4957     if ((int const   )*(__s + __result) != 0) {
4958       if ((int const   )*(__s + __result) != (int const   )__reject1) {   4958       if ((int const   )*(__s + __result) != (int const   )__reject1) {
4959         if ((int const   )*(__s + __result) != (int const   )__reject2) {   4959         if ((int const   )*(__s + __result) != (int const   )__reject2) {
4960           if ((int const   )*(__s + __result) != (int const   )__reject3) {   4960           if ((int const   )*(__s + __result) != (int const   )__reject3) {
4961     4961  
4962           } else {   4962           } else {
4963             break;   4963             break;
4964           }   4964           }
4965         } else {   4965         } else {
4966           break;   4966           break;
4967         }   4967         }
4968       } else {   4968       } else {
4969         break;   4969         break;
4970       }   4970       }
4971     } else {   4971     } else {
4972       break;   4972       break;
4973     }   4973     }
4974     __result ++;   4974     __result ++;
4975   }   4975   }
4976   return (__result);   4976   return (__result);
4977 }   4977 }
4978 }   4978 }
4979 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;   4979 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;
4980 __inline extern size_t __strspn_c1(char const   *__s , int __accept )   4980 __inline extern size_t __strspn_c1(char const   *__s , int __accept )
4981 {   4981 {
4982   register size_t __result ;   4982   register size_t __result ;
4983     4983  
4984   {   4984   {
4985   __result = (size_t )0;   4985   __result = (size_t )0;
4986   while ((int const   )*(__s + __result) == (int const   )__accept) {   4986   while ((int const   )*(__s + __result) == (int const   )__accept) {
4987     __result ++;   4987     __result ++;
4988   }   4988   }
4989   return (__result);   4989   return (__result);
4990 }   4990 }
4991 }   4991 }
4992 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   4992 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
4993                                    int __accept2 ) ;   4993                                    int __accept2 ) ;
4994 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   4994 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
4995                                    int __accept2 )   4995                                    int __accept2 )
4996 {   4996 {
4997   register size_t __result ;   4997   register size_t __result ;
4998     4998  
4999   {   4999   {
5000   __result = (size_t )0;   5000   __result = (size_t )0;
5001   while (1) {   5001   while (1) {
5002     if ((int const   )*(__s + __result) == (int const   )__accept1) {   5002     if ((int const   )*(__s + __result) == (int const   )__accept1) {
5003     5003  
5004     } else   5004     } else
5005     if ((int const   )*(__s + __result) == (int const   )__accept2) {   5005     if ((int const   )*(__s + __result) == (int const   )__accept2) {
5006     5006  
5007     } else {   5007     } else {
5008       break;   5008       break;
5009     }   5009     }
5010     __result ++;   5010     __result ++;
5011   }   5011   }
5012   return (__result);   5012   return (__result);
5013 }   5013 }
5014 }   5014 }
5015 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   5015 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
5016                                    int __accept2 , int __accept3 ) ;   5016                                    int __accept2 , int __accept3 ) ;
5017 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   5017 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
5018                                    int __accept2 , int __accept3 )   5018                                    int __accept2 , int __accept3 )
5019 {   5019 {
5020   register size_t __result ;   5020   register size_t __result ;
5021     5021  
5022   {   5022   {
5023   __result = (size_t )0;   5023   __result = (size_t )0;
5024   while (1) {   5024   while (1) {
5025     if ((int const   )*(__s + __result) == (int const   )__accept1) {   5025     if ((int const   )*(__s + __result) == (int const   )__accept1) {
5026     5026  
5027     } else   5027     } else
5028     if ((int const   )*(__s + __result) == (int const   )__accept2) {   5028     if ((int const   )*(__s + __result) == (int const   )__accept2) {
5029     5029  
5030     } else   5030     } else
5031     if ((int const   )*(__s + __result) == (int const   )__accept3) {   5031     if ((int const   )*(__s + __result) == (int const   )__accept3) {
5032     5032  
5033     } else {   5033     } else {
5034       break;   5034       break;
5035     }   5035     }
5036     __result ++;   5036     __result ++;
5037   }   5037   }
5038   return (__result);   5038   return (__result);
5039 }   5039 }
5040 }   5040 }
5041 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   5041 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
5042                                    int __accept2 ) ;   5042                                    int __accept2 ) ;
5043 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   5043 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
5044                                    int __accept2 )   5044                                    int __accept2 )
5045 {   5045 {
5046   char *tmp ;   5046   char *tmp ;
5047     5047  
5048   {   5048   {
5049   while (1) {   5049   while (1) {
5050     if ((int const   )*__s != 0) {   5050     if ((int const   )*__s != 0) {
5051       if ((int const   )*__s != (int const   )__accept1) {   5051       if ((int const   )*__s != (int const   )__accept1) {
5052         if ((int const   )*__s != (int const   )__accept2) {   5052         if ((int const   )*__s != (int const   )__accept2) {
5053     5053  
5054         } else {   5054         } else {
5055           break;   5055           break;
5056         }   5056         }
5057       } else {   5057       } else {
5058         break;   5058         break;
5059       }   5059       }
5060     } else {   5060     } else {
5061       break;   5061       break;
5062     }   5062     }
5063     __s ++;   5063     __s ++;
5064   }   5064   }
5065   if ((int const   )*__s == 0) {   5065   if ((int const   )*__s == 0) {
5066     tmp = (char *)((void *)0);   5066     tmp = (char *)((void *)0);
5067   } else {   5067   } else {
5068     tmp = (char *)((size_t )__s);   5068     tmp = (char *)((size_t )__s);
5069   }   5069   }
5070   return (tmp);   5070   return (tmp);
5071 }   5071 }
5072 }   5072 }
5073 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   5073 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
5074                                    int __accept2 , int __accept3 ) ;   5074                                    int __accept2 , int __accept3 ) ;
5075 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   5075 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
5076                                    int __accept2 , int __accept3 )   5076                                    int __accept2 , int __accept3 )
5077 {   5077 {
5078   char *tmp ;   5078   char *tmp ;
5079     5079  
5080   {   5080   {
5081   while (1) {   5081   while (1) {
5082     if ((int const   )*__s != 0) {   5082     if ((int const   )*__s != 0) {
5083       if ((int const   )*__s != (int const   )__accept1) {   5083       if ((int const   )*__s != (int const   )__accept1) {
5084         if ((int const   )*__s != (int const   )__accept2) {   5084         if ((int const   )*__s != (int const   )__accept2) {
5085           if ((int const   )*__s != (int const   )__accept3) {   5085           if ((int const   )*__s != (int const   )__accept3) {
5086     5086  
5087           } else {   5087           } else {
5088             break;   5088             break;
5089           }   5089           }
5090         } else {   5090         } else {
5091           break;   5091           break;
5092         }   5092         }
5093       } else {   5093       } else {
5094         break;   5094         break;
5095       }   5095       }
5096     } else {   5096     } else {
5097       break;   5097       break;
5098     }   5098     }
5099     __s ++;   5099     __s ++;
5100   }   5100   }
5101   if ((int const   )*__s == 0) {   5101   if ((int const   )*__s == 0) {
5102     tmp = (char *)((void *)0);   5102     tmp = (char *)((void *)0);
5103   } else {   5103   } else {
5104     tmp = (char *)((size_t )__s);   5104     tmp = (char *)((size_t )__s);
5105   }   5105   }
5106   return (tmp);   5106   return (tmp);
5107 }   5107 }
5108 }   5108 }
5109 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;   5109 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;
5110 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )   5110 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )
5111 {   5111 {
5112   char *__result ;   5112   char *__result ;
5113   char *tmp ;   5113   char *tmp ;
5114   char *tmp___0 ;   5114   char *tmp___0 ;
5115     5115  
5116   {   5116   {
5117   if ((unsigned int )__s == (unsigned int )((void *)0)) {   5117   if ((unsigned int )__s == (unsigned int )((void *)0)) {
5118     __s = *__nextp;   5118     __s = *__nextp;
5119   } else {   5119   } else {
5120     5120  
5121   }   5121   }
5122   while ((int )*__s == (int )__sep) {   5122   while ((int )*__s == (int )__sep) {
5123     __s ++;   5123     __s ++;
5124   }   5124   }
5125   __result = (char *)((void *)0);   5125   __result = (char *)((void *)0);
5126   if ((int )*__s != 0) {   5126   if ((int )*__s != 0) {
5127     tmp = __s;   5127     tmp = __s;
5128     __s ++;   5128     __s ++;
5129     __result = tmp;   5129     __result = tmp;
5130     while ((int )*__s != 0) {   5130     while ((int )*__s != 0) {
5131       tmp___0 = __s;   5131       tmp___0 = __s;
5132       __s ++;   5132       __s ++;
5133       if ((int )*tmp___0 == (int )__sep) {   5133       if ((int )*tmp___0 == (int )__sep) {
5134         *(__s + -1) = (char )'\000';   5134         *(__s + -1) = (char )'\000';
5135         break;   5135         break;
5136       } else {   5136       } else {
5137     5137  
5138       }   5138       }
5139     }   5139     }
5140   } else {   5140   } else {
5141     5141  
5142   }   5142   }
5143   *__nextp = __s;   5143   *__nextp = __s;
5144   return (__result);   5144   return (__result);
5145 }   5145 }
5146 }   5146 }
5147 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;   5147 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
5148 __inline extern char *__strsep_1c(char **__s , char __reject ) ;   5148 __inline extern char *__strsep_1c(char **__s , char __reject ) ;
5149 __inline extern char *__strsep_1c(char **__s , char __reject )   5149 __inline extern char *__strsep_1c(char **__s , char __reject )
5150 {   5150 {
5151   register char *__retval ;   5151   register char *__retval ;
5152   char *tmp ;   5152   char *tmp ;
5153   char *tmp___0 ;   5153   char *tmp___0 ;
5154   void *tmp___1 ;   5154   void *tmp___1 ;
5155   char *tmp___2 ;   5155   char *tmp___2 ;
5156     5156  
5157   {   5157   {
5158   __retval = *__s;   5158   __retval = *__s;
5159   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   5159   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
5160     tmp___2 = __builtin_strchr(__retval, (int )__reject);   5160     tmp___2 = __builtin_strchr(__retval, (int )__reject);
5161     tmp___0 = tmp___2;   5161     tmp___0 = tmp___2;
5162     *__s = tmp___0;   5162     *__s = tmp___0;
5163     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   5163     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
5164       tmp = *__s;   5164       tmp = *__s;
5165       (*__s) ++;   5165       (*__s) ++;
5166       *tmp = (char )'\000';   5166       *tmp = (char )'\000';
5167     } else {   5167     } else {
5168     5168  
5169     }   5169     }
5170   } else {   5170   } else {
5171     5171  
5172   }   5172   }
5173   return (__retval);   5173   return (__retval);
5174 }   5174 }
5175 }   5175 }
5176 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;   5176 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;
5177 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )   5177 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )
5178 {   5178 {
5179   register char *__retval ;   5179   register char *__retval ;
5180   register char *__cp ;   5180   register char *__cp ;
5181   char *tmp ;   5181   char *tmp ;
5182     5182  
5183   {   5183   {
5184   __retval = *__s;   5184   __retval = *__s;
5185   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   5185   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
5186     __cp = __retval;   5186     __cp = __retval;
5187     while (1) {   5187     while (1) {
5188       if ((int )*__cp == 0) {   5188       if ((int )*__cp == 0) {
5189         __cp = (char *)((void *)0);   5189         __cp = (char *)((void *)0);
5190         break;   5190         break;
5191       } else {   5191       } else {
5192     5192  
5193       }   5193       }
5194       if ((int )*__cp == (int )__reject1) {   5194       if ((int )*__cp == (int )__reject1) {
5195         tmp = __cp;   5195         tmp = __cp;
5196         __cp ++;   5196         __cp ++;
5197         *tmp = (char )'\000';   5197         *tmp = (char )'\000';
5198         break;   5198         break;
5199       } else   5199       } else
5200       if ((int )*__cp == (int )__reject2) {   5200       if ((int )*__cp == (int )__reject2) {
5201         tmp = __cp;   5201         tmp = __cp;
5202         __cp ++;   5202         __cp ++;
5203         *tmp = (char )'\000';   5203         *tmp = (char )'\000';
5204         break;   5204         break;
5205       } else {   5205       } else {
5206     5206  
5207       }   5207       }
5208       __cp ++;   5208       __cp ++;
5209     }   5209     }
5210     *__s = __cp;   5210     *__s = __cp;
5211   } else {   5211   } else {
5212     5212  
5213   }   5213   }
5214   return (__retval);   5214   return (__retval);
5215 }   5215 }
5216 }   5216 }
5217 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   5217 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
5218                                   char __reject3 ) ;   5218                                   char __reject3 ) ;
5219 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   5219 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
5220                                   char __reject3 )   5220                                   char __reject3 )
5221 {   5221 {
5222   register char *__retval ;   5222   register char *__retval ;
5223   register char *__cp ;   5223   register char *__cp ;
5224   char *tmp ;   5224   char *tmp ;
5225     5225  
5226   {   5226   {
5227   __retval = *__s;   5227   __retval = *__s;
5228   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   5228   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
5229     __cp = __retval;   5229     __cp = __retval;
5230     while (1) {   5230     while (1) {
5231       if ((int )*__cp == 0) {   5231       if ((int )*__cp == 0) {
5232         __cp = (char *)((void *)0);   5232         __cp = (char *)((void *)0);
5233         break;   5233         break;
5234       } else {   5234       } else {
5235     5235  
5236       }   5236       }
5237       if ((int )*__cp == (int )__reject1) {   5237       if ((int )*__cp == (int )__reject1) {
5238         tmp = __cp;   5238         tmp = __cp;
5239         __cp ++;   5239         __cp ++;
5240         *tmp = (char )'\000';   5240         *tmp = (char )'\000';
5241         break;   5241         break;
5242       } else   5242       } else
5243       if ((int )*__cp == (int )__reject2) {   5243       if ((int )*__cp == (int )__reject2) {
5244         tmp = __cp;   5244         tmp = __cp;
5245         __cp ++;   5245         __cp ++;
5246         *tmp = (char )'\000';   5246         *tmp = (char )'\000';
5247         break;   5247         break;
5248       } else   5248       } else
5249       if ((int )*__cp == (int )__reject3) {   5249       if ((int )*__cp == (int )__reject3) {
5250         tmp = __cp;   5250         tmp = __cp;
5251         __cp ++;   5251         __cp ++;
5252         *tmp = (char )'\000';   5252         *tmp = (char )'\000';
5253         break;   5253         break;
5254       } else {   5254       } else {
5255     5255  
5256       }   5256       }
5257       __cp ++;   5257       __cp ++;
5258     }   5258     }
5259     *__s = __cp;   5259     *__s = __cp;
5260   } else {   5260   } else {
5261     5261  
5262   }   5262   }
5263   return (__retval);   5263   return (__retval);
5264 }   5264 }
5265 }   5265 }
5266 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;   5266 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
5267 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,   5267 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,
5268                                                      size_t __n )  __attribute__((__malloc__)) ;   5268                                                      size_t __n )  __attribute__((__malloc__)) ;
5269 extern  __attribute__((__nothrow__)) wchar_t *wcscpy(wchar_t * __restrict  __dest ,   5269 extern  __attribute__((__nothrow__)) wchar_t *wcscpy(wchar_t * __restrict  __dest ,
5270                                                      wchar_t const   * __restrict  __src ) ;   5270                                                      wchar_t const   * __restrict  __src ) ;
5271 extern  __attribute__((__nothrow__)) wchar_t *wcsncpy(wchar_t * __restrict  __dest ,   5271 extern  __attribute__((__nothrow__)) wchar_t *wcsncpy(wchar_t * __restrict  __dest ,
5272                                                       wchar_t const   * __restrict  __src ,   5272                                                       wchar_t const   * __restrict  __src ,
5273                                                       size_t __n ) ;   5273                                                       size_t __n ) ;
5274 extern  __attribute__((__nothrow__)) wchar_t *wcscat(wchar_t * __restrict  __dest ,   5274 extern  __attribute__((__nothrow__)) wchar_t *wcscat(wchar_t * __restrict  __dest ,
5275                                                      wchar_t const   * __restrict  __src ) ;   5275                                                      wchar_t const   * __restrict  __src ) ;
5276 extern  __attribute__((__nothrow__)) wchar_t *wcsncat(wchar_t * __restrict  __dest ,   5276 extern  __attribute__((__nothrow__)) wchar_t *wcsncat(wchar_t * __restrict  __dest ,
5277                                                       wchar_t const   * __restrict  __src ,   5277                                                       wchar_t const   * __restrict  __src ,
5278                                                       size_t __n ) ;   5278                                                       size_t __n ) ;
5279 extern  __attribute__((__nothrow__)) int wcscmp(wchar_t const   *__s1 ,   5279 extern  __attribute__((__nothrow__)) int wcscmp(wchar_t const   *__s1 ,
5280                                                 wchar_t const   *__s2 )  __attribute__((__pure__)) ;   5280                                                 wchar_t const   *__s2 )  __attribute__((__pure__)) ;
5281 extern  __attribute__((__nothrow__)) int wcsncmp(wchar_t const   *__s1 ,   5281 extern  __attribute__((__nothrow__)) int wcsncmp(wchar_t const   *__s1 ,
5282                                                  wchar_t const   *__s2 ,   5282                                                  wchar_t const   *__s2 ,
5283                                                  size_t __n )  __attribute__((__pure__)) ;   5283                                                  size_t __n )  __attribute__((__pure__)) ;
5284 extern  __attribute__((__nothrow__)) int wcscasecmp(wchar_t const   *__s1 ,   5284 extern  __attribute__((__nothrow__)) int wcscasecmp(wchar_t const   *__s1 ,
5285                                                     wchar_t const   *__s2 ) ;   5285                                                     wchar_t const   *__s2 ) ;
5286 extern  __attribute__((__nothrow__)) int wcsncasecmp(wchar_t const   *__s1 ,   5286 extern  __attribute__((__nothrow__)) int wcsncasecmp(wchar_t const   *__s1 ,
5287                                                      wchar_t const   *__s2 ,   5287                                                      wchar_t const   *__s2 ,
5288                                                      size_t __n ) ;   5288                                                      size_t __n ) ;
5289 extern  __attribute__((__nothrow__)) int wcscasecmp_l(wchar_t const   *__s1 ,   5289 extern  __attribute__((__nothrow__)) int wcscasecmp_l(wchar_t const   *__s1 ,
5290                                                       wchar_t const   *__s2 ,   5290                                                       wchar_t const   *__s2 ,
5291                                                       __locale_t __loc ) ;   5291                                                       __locale_t __loc ) ;
5292 extern  __attribute__((__nothrow__)) int wcsncasecmp_l(wchar_t const   *__s1 ,   5292 extern  __attribute__((__nothrow__)) int wcsncasecmp_l(wchar_t const   *__s1 ,
5293                                                        wchar_t const   *__s2 ,   5293                                                        wchar_t const   *__s2 ,
5294                                                        size_t __n ,   5294                                                        size_t __n ,
5295                                                        __locale_t __loc ) ;   5295                                                        __locale_t __loc ) ;
5296 extern  __attribute__((__nothrow__)) int wcscoll(wchar_t const   *__s1 ,   5296 extern  __attribute__((__nothrow__)) int wcscoll(wchar_t const   *__s1 ,
5297                                                  wchar_t const   *__s2 ) ;   5297                                                  wchar_t const   *__s2 ) ;
5298 extern  __attribute__((__nothrow__)) size_t wcsxfrm(wchar_t * __restrict  __s1 ,   5298 extern  __attribute__((__nothrow__)) size_t wcsxfrm(wchar_t * __restrict  __s1 ,
5299                                                     wchar_t const   * __restrict  __s2 ,   5299                                                     wchar_t const   * __restrict  __s2 ,
5300                                                     size_t __n ) ;   5300                                                     size_t __n ) ;
5301 extern  __attribute__((__nothrow__)) int wcscoll_l(wchar_t const   *__s1 ,   5301 extern  __attribute__((__nothrow__)) int wcscoll_l(wchar_t const   *__s1 ,
5302                                                    wchar_t const   *__s2 ,   5302                                                    wchar_t const   *__s2 ,
5303                                                    __locale_t __loc ) ;   5303                                                    __locale_t __loc ) ;
5304 extern  __attribute__((__nothrow__)) size_t wcsxfrm_l(wchar_t *__s1 ,   5304 extern  __attribute__((__nothrow__)) size_t wcsxfrm_l(wchar_t *__s1 ,
5305                                                       wchar_t const   *__s2 ,   5305                                                       wchar_t const   *__s2 ,
5306                                                       size_t __n ,   5306                                                       size_t __n ,
5307                                                       __locale_t __loc ) ;   5307                                                       __locale_t __loc ) ;
5308 extern  __attribute__((__nothrow__)) wchar_t *wcsdup(wchar_t const   *__s )  __attribute__((__malloc__)) ;   5308 extern  __attribute__((__nothrow__)) wchar_t *wcsdup(wchar_t const   *__s )  __attribute__((__malloc__)) ;
5309 extern  __attribute__((__nothrow__)) wchar_t *wcschr(wchar_t const   *__wcs ,   5309 extern  __attribute__((__nothrow__)) wchar_t *wcschr(wchar_t const   *__wcs ,
5310                                                      wchar_t __wc )  __attribute__((__pure__)) ;   5310                                                      wchar_t __wc )  __attribute__((__pure__)) ;
5311 extern  __attribute__((__nothrow__)) wchar_t *wcsrchr(wchar_t const   *__wcs ,   5311 extern  __attribute__((__nothrow__)) wchar_t *wcsrchr(wchar_t const   *__wcs ,
5312                                                       wchar_t __wc )  __attribute__((__pure__)) ;   5312                                                       wchar_t __wc )  __attribute__((__pure__)) ;
5313 extern  __attribute__((__nothrow__)) size_t wcscspn(wchar_t const   *__wcs ,   5313 extern  __attribute__((__nothrow__)) size_t wcscspn(wchar_t const   *__wcs ,
5314                                                     wchar_t const   *__reject )  __attribute__((__pure__)) ;   5314                                                     wchar_t const   *__reject )  __attribute__((__pure__)) ;
5315 extern  __attribute__((__nothrow__)) size_t wcsspn(wchar_t const   *__wcs ,   5315 extern  __attribute__((__nothrow__)) size_t wcsspn(wchar_t const   *__wcs ,
5316                                                    wchar_t const   *__accept )  __attribute__((__pure__)) ;   5316                                                    wchar_t const   *__accept )  __attribute__((__pure__)) ;
5317 extern  __attribute__((__nothrow__)) wchar_t *wcspbrk(wchar_t const   *__wcs ,   5317 extern  __attribute__((__nothrow__)) wchar_t *wcspbrk(wchar_t const   *__wcs ,
5318                                                       wchar_t const   *__accept )  __attribute__((__pure__)) ;   5318                                                       wchar_t const   *__accept )  __attribute__((__pure__)) ;
5319 extern  __attribute__((__nothrow__)) wchar_t *wcsstr(wchar_t const   *__haystack ,   5319 extern  __attribute__((__nothrow__)) wchar_t *wcsstr(wchar_t const   *__haystack ,
5320                                                      wchar_t const   *__needle )  __attribute__((__pure__)) ;   5320                                                      wchar_t const   *__needle )  __attribute__((__pure__)) ;
5321 extern  __attribute__((__nothrow__)) wchar_t *wcstok(wchar_t * __restrict  __s ,   5321 extern  __attribute__((__nothrow__)) wchar_t *wcstok(wchar_t * __restrict  __s ,
5322                                                      wchar_t const   * __restrict  __delim ,   5322                                                      wchar_t const   * __restrict  __delim ,
5323                                                      wchar_t ** __restrict  __ptr ) ;   5323                                                      wchar_t ** __restrict  __ptr ) ;
5324 extern  __attribute__((__nothrow__)) size_t wcslen(wchar_t const   *__s )  __attribute__((__pure__)) ;   5324 extern  __attribute__((__nothrow__)) size_t wcslen(wchar_t const   *__s )  __attribute__((__pure__)) ;
5325 extern  __attribute__((__nothrow__)) size_t wcsnlen(wchar_t const   *__s ,   5325 extern  __attribute__((__nothrow__)) size_t wcsnlen(wchar_t const   *__s ,
5326                                                     size_t __maxlen )  __attribute__((__pure__)) ;   5326                                                     size_t __maxlen )  __attribute__((__pure__)) ;
5327 extern  __attribute__((__nothrow__)) wchar_t *wmemchr(wchar_t const   *__s ,   5327 extern  __attribute__((__nothrow__)) wchar_t *wmemchr(wchar_t const   *__s ,
5328                                                       wchar_t __c , size_t __n )  __attribute__((__pure__)) ;   5328                                                       wchar_t __c , size_t __n )  __attribute__((__pure__)) ;
5329 extern  __attribute__((__nothrow__)) int wmemcmp(wchar_t const   * __restrict  __s1 ,   5329 extern  __attribute__((__nothrow__)) int wmemcmp(wchar_t const   * __restrict  __s1 ,
5330                                                  wchar_t const   * __restrict  __s2 ,   5330                                                  wchar_t const   * __restrict  __s2 ,
5331                                                  size_t __n )  __attribute__((__pure__)) ;   5331                                                  size_t __n )  __attribute__((__pure__)) ;
5332 extern  __attribute__((__nothrow__)) wchar_t *wmemcpy(wchar_t * __restrict  __s1 ,   5332 extern  __attribute__((__nothrow__)) wchar_t *wmemcpy(wchar_t * __restrict  __s1 ,
5333                                                       wchar_t const   * __restrict  __s2 ,   5333                                                       wchar_t const   * __restrict  __s2 ,
5334                                                       size_t __n ) ;   5334                                                       size_t __n ) ;
5335 extern  __attribute__((__nothrow__)) wchar_t *wmemmove(wchar_t *__s1 ,   5335 extern  __attribute__((__nothrow__)) wchar_t *wmemmove(wchar_t *__s1 ,
5336                                                        wchar_t const   *__s2 ,   5336                                                        wchar_t const   *__s2 ,
5337                                                        size_t __n ) ;   5337                                                        size_t __n ) ;
5338 extern  __attribute__((__nothrow__)) wchar_t *wmemset(wchar_t *__s ,   5338 extern  __attribute__((__nothrow__)) wchar_t *wmemset(wchar_t *__s ,
5339                                                       wchar_t __c , size_t __n ) ;   5339                                                       wchar_t __c , size_t __n ) ;
5340 __inline extern  __attribute__((__nothrow__)) wint_t btowc(int __c ) ;   5340 __inline extern  __attribute__((__nothrow__)) wint_t btowc(int __c ) ;
5341 __inline extern  __attribute__((__nothrow__)) int wctob(wint_t __wc ) ;   5341 __inline extern  __attribute__((__nothrow__)) int wctob(wint_t __wc ) ;
5342 extern  __attribute__((__nothrow__)) int mbsinit(mbstate_t const   *__ps )  __attribute__((__pure__)) ;   5342 extern  __attribute__((__nothrow__)) int mbsinit(mbstate_t const   *__ps )  __attribute__((__pure__)) ;
5343 extern  __attribute__((__nothrow__)) size_t mbrtowc(wchar_t * __restrict  __pwc ,   5343 extern  __attribute__((__nothrow__)) size_t mbrtowc(wchar_t * __restrict  __pwc ,
5344                                                     char const   * __restrict  __s ,   5344                                                     char const   * __restrict  __s ,
5345                                                     size_t __n , mbstate_t *__p ) ;   5345                                                     size_t __n , mbstate_t *__p ) ;
5346 extern  __attribute__((__nothrow__)) size_t wcrtomb(char * __restrict  __s ,   5346 extern  __attribute__((__nothrow__)) size_t wcrtomb(char * __restrict  __s ,
5347                                                     wchar_t __wc ,   5347                                                     wchar_t __wc ,
5348                                                     mbstate_t * __restrict  __ps ) ;   5348                                                     mbstate_t * __restrict  __ps ) ;
5349 extern  __attribute__((__nothrow__)) size_t __mbrlen(char const   * __restrict  __s ,   5349 extern  __attribute__((__nothrow__)) size_t __mbrlen(char const   * __restrict  __s ,
5350                                                      size_t __n ,   5350                                                      size_t __n ,
5351                                                      mbstate_t * __restrict  __ps ) ;   5351                                                      mbstate_t * __restrict  __ps ) ;
5352 __inline extern  __attribute__((__nothrow__)) size_t mbrlen(char const   * __restrict  __s ,   5352 __inline extern  __attribute__((__nothrow__)) size_t mbrlen(char const   * __restrict  __s ,
5353                                                             size_t __n ,   5353                                                             size_t __n ,
5354                                                             mbstate_t * __restrict  __ps ) ;   5354                                                             mbstate_t * __restrict  __ps ) ;
5355 extern wint_t __btowc_alias(int __c )  __asm__("btowc")  ;   5355 extern wint_t __btowc_alias(int __c )  __asm__("btowc")  ;
5356 __inline extern  __attribute__((__nothrow__)) wint_t btowc(int __c ) ;   5356 __inline extern  __attribute__((__nothrow__)) wint_t btowc(int __c ) ;
5357 __inline extern wint_t btowc(int __c )   5357 __inline extern wint_t btowc(int __c )
5358 {   5358 {
5359   wint_t tmp ;   5359   wint_t tmp ;
5360     5360  
5361   {   5361   {
5362   tmp = __btowc_alias(__c);   5362   tmp = __btowc_alias(__c);
5363   return (tmp);   5363   return (tmp);
5364 }   5364 }
5365 }   5365 }
5366 extern int __wctob_alias(wint_t __c )  __asm__("wctob")  ;   5366 extern int __wctob_alias(wint_t __c )  __asm__("wctob")  ;
5367 __inline extern  __attribute__((__nothrow__)) int wctob(wint_t __wc ) ;   5367 __inline extern  __attribute__((__nothrow__)) int wctob(wint_t __wc ) ;
5368 __inline extern int wctob(wint_t __wc )   5368 __inline extern int wctob(wint_t __wc )
5369 {   5369 {
5370   int tmp ;   5370   int tmp ;
5371     5371  
5372   {   5372   {
5373   tmp = __wctob_alias(__wc);   5373   tmp = __wctob_alias(__wc);
5374   return (tmp);   5374   return (tmp);
5375 }   5375 }
5376 }   5376 }
5377 __inline extern  __attribute__((__nothrow__)) size_t mbrlen(char const   * __restrict  __s ,   5377 __inline extern  __attribute__((__nothrow__)) size_t mbrlen(char const   * __restrict  __s ,
5378                                                             size_t __n ,   5378                                                             size_t __n ,
5379                                                             mbstate_t * __restrict  __ps ) ;   5379                                                             mbstate_t * __restrict  __ps ) ;
5380 __inline extern size_t mbrlen(char const   * __restrict  __s , size_t __n ,   5380 __inline extern size_t mbrlen(char const   * __restrict  __s , size_t __n ,
5381                               mbstate_t * __restrict  __ps )   5381                               mbstate_t * __restrict  __ps )
5382 {   5382 {
5383   size_t tmp ;   5383   size_t tmp ;
5384   size_t tmp___0 ;   5384   size_t tmp___0 ;
5385   size_t tmp___1 ;   5385   size_t tmp___1 ;
5386     5386  
5387   {   5387   {
5388   if ((unsigned int )__ps != (unsigned int )((void *)0)) {   5388   if ((unsigned int )__ps != (unsigned int )((void *)0)) {
5389     tmp = mbrtowc((wchar_t */* __restrict  */)((void *)0), __s, __n,   5389     tmp = mbrtowc((wchar_t */* __restrict  */)((void *)0), __s, __n,
5390                   (mbstate_t *)__ps);   5390                   (mbstate_t *)__ps);
5391     tmp___1 = tmp;   5391     tmp___1 = tmp;
5392   } else {   5392   } else {
5393     tmp___0 = __mbrlen(__s, __n, (mbstate_t */* __restrict  */)((void *)0));   5393     tmp___0 = __mbrlen(__s, __n, (mbstate_t */* __restrict  */)((void *)0));
5394     tmp___1 = tmp___0;   5394     tmp___1 = tmp___0;
5395   }   5395   }
5396   return (tmp___1);   5396   return (tmp___1);
5397 }   5397 }
5398 }   5398 }
5399 extern  __attribute__((__nothrow__)) size_t mbsrtowcs(wchar_t * __restrict  __dst ,   5399 extern  __attribute__((__nothrow__)) size_t mbsrtowcs(wchar_t * __restrict  __dst ,
5400                                                       char const   ** __restrict  __src ,   5400                                                       char const   ** __restrict  __src ,
5401                                                       size_t __len ,   5401                                                       size_t __len ,
5402                                                       mbstate_t * __restrict  __ps ) ;   5402                                                       mbstate_t * __restrict  __ps ) ;
5403 extern  __attribute__((__nothrow__)) size_t wcsrtombs(char * __restrict  __dst ,   5403 extern  __attribute__((__nothrow__)) size_t wcsrtombs(char * __restrict  __dst ,
5404                                                       wchar_t const   ** __restrict  __src ,   5404                                                       wchar_t const   ** __restrict  __src ,
5405                                                       size_t __len ,   5405                                                       size_t __len ,
5406                                                       mbstate_t * __restrict  __ps ) ;   5406                                                       mbstate_t * __restrict  __ps ) ;
5407 extern  __attribute__((__nothrow__)) size_t mbsnrtowcs(wchar_t * __restrict  __dst ,   5407 extern  __attribute__((__nothrow__)) size_t mbsnrtowcs(wchar_t * __restrict  __dst ,
5408                                                        char const   ** __restrict  __src ,   5408                                                        char const   ** __restrict  __src ,
5409                                                        size_t __nmc ,   5409                                                        size_t __nmc ,
5410                                                        size_t __len ,   5410                                                        size_t __len ,
5411                                                        mbstate_t * __restrict  __ps ) ;   5411                                                        mbstate_t * __restrict  __ps ) ;
5412 extern  __attribute__((__nothrow__)) size_t wcsnrtombs(char * __restrict  __dst ,   5412 extern  __attribute__((__nothrow__)) size_t wcsnrtombs(char * __restrict  __dst ,
5413                                                        wchar_t const   ** __restrict  __src ,   5413                                                        wchar_t const   ** __restrict  __src ,
5414                                                        size_t __nwc ,   5414                                                        size_t __nwc ,
5415                                                        size_t __len ,   5415                                                        size_t __len ,
5416                                                        mbstate_t * __restrict  __ps ) ;   5416                                                        mbstate_t * __restrict  __ps ) ;
5417 extern  __attribute__((__nothrow__)) double wcstod(wchar_t const   * __restrict  __nptr ,   5417 extern  __attribute__((__nothrow__)) double wcstod(wchar_t const   * __restrict  __nptr ,
5418                                                    wchar_t ** __restrict  __endptr ) ;   5418                                                    wchar_t ** __restrict  __endptr ) ;
5419 extern  __attribute__((__nothrow__)) float wcstof(wchar_t const   * __restrict  __nptr ,   5419 extern  __attribute__((__nothrow__)) float wcstof(wchar_t const   * __restrict  __nptr ,
5420                                                   wchar_t ** __restrict  __endptr ) ;   5420                                                   wchar_t ** __restrict  __endptr ) ;
5421 extern  __attribute__((__nothrow__)) long double wcstold(wchar_t const   * __restrict  __nptr ,   5421 extern  __attribute__((__nothrow__)) long double wcstold(wchar_t const   * __restrict  __nptr ,
5422                                                          wchar_t ** __restrict  __endptr ) ;   5422                                                          wchar_t ** __restrict  __endptr ) ;
5423 extern  __attribute__((__nothrow__)) long wcstol(wchar_t const   * __restrict  __nptr ,   5423 extern  __attribute__((__nothrow__)) long wcstol(wchar_t const   * __restrict  __nptr ,
5424                                                  wchar_t ** __restrict  __endptr ,   5424                                                  wchar_t ** __restrict  __endptr ,
5425                                                  int __base ) ;   5425                                                  int __base ) ;
5426 extern  __attribute__((__nothrow__)) unsigned long wcstoul(wchar_t const   * __restrict  __nptr ,   5426 extern  __attribute__((__nothrow__)) unsigned long wcstoul(wchar_t const   * __restrict  __nptr ,
5427                                                            wchar_t ** __restrict  __endptr ,   5427                                                            wchar_t ** __restrict  __endptr ,
5428                                                            int __base ) ;   5428                                                            int __base ) ;
5429 extern  __attribute__((__nothrow__)) long long wcstoll(wchar_t const   * __restrict  __nptr ,   5429 extern  __attribute__((__nothrow__)) long long wcstoll(wchar_t const   * __restrict  __nptr ,
5430                                                        wchar_t ** __restrict  __endptr ,   5430                                                        wchar_t ** __restrict  __endptr ,
5431                                                        int __base ) ;   5431                                                        int __base ) ;
5432 extern  __attribute__((__nothrow__)) unsigned long long wcstoull(wchar_t const   * __restrict  __nptr ,   5432 extern  __attribute__((__nothrow__)) unsigned long long wcstoull(wchar_t const   * __restrict  __nptr ,
5433                                                                  wchar_t ** __restrict  __endptr ,   5433                                                                  wchar_t ** __restrict  __endptr ,
5434                                                                  int __base ) ;   5434                                                                  int __base ) ;
5435 extern  __attribute__((__nothrow__)) __FILE *open_wmemstream(wchar_t **__bufloc ,   5435 extern  __attribute__((__nothrow__)) __FILE *open_wmemstream(wchar_t **__bufloc ,
5436                                                              size_t *__sizeloc ) ;   5436                                                              size_t *__sizeloc ) ;
5437 extern  __attribute__((__nothrow__)) int fwide(__FILE *__fp , int __mode ) ;   5437 extern  __attribute__((__nothrow__)) int fwide(__FILE *__fp , int __mode ) ;
5438 extern int fwprintf(__FILE * __restrict  __stream ,   5438 extern int fwprintf(__FILE * __restrict  __stream ,
5439                     wchar_t const   * __restrict  __format  , ...) ;   5439                     wchar_t const   * __restrict  __format  , ...) ;
5440 extern int wprintf(wchar_t const   * __restrict  __format  , ...) ;   5440 extern int wprintf(wchar_t const   * __restrict  __format  , ...) ;
5441 extern  __attribute__((__nothrow__)) int swprintf(wchar_t * __restrict  __s ,   5441 extern  __attribute__((__nothrow__)) int swprintf(wchar_t * __restrict  __s ,
5442                                                   size_t __n ,   5442                                                   size_t __n ,
5443                                                   wchar_t const   * __restrict  __format   5443                                                   wchar_t const   * __restrict  __format
5444                                                   , ...) ;   5444                                                   , ...) ;
5445 extern int vfwprintf(__FILE * __restrict  __s ,   5445 extern int vfwprintf(__FILE * __restrict  __s ,
5446                      wchar_t const   * __restrict  __format ,   5446                      wchar_t const   * __restrict  __format ,
5447                      __gnuc_va_list __arg ) ;   5447                      __gnuc_va_list __arg ) ;
5448 extern int vwprintf(wchar_t const   * __restrict  __format ,   5448 extern int vwprintf(wchar_t const   * __restrict  __format ,
5449                     __gnuc_va_list __arg ) ;   5449                     __gnuc_va_list __arg ) ;
5450 extern  __attribute__((__nothrow__)) int vswprintf(wchar_t * __restrict  __s ,   5450 extern  __attribute__((__nothrow__)) int vswprintf(wchar_t * __restrict  __s ,
5451                                                    size_t __n ,   5451                                                    size_t __n ,
5452                                                    wchar_t const   * __restrict  __format ,   5452                                                    wchar_t const   * __restrict  __format ,
5453                                                    __gnuc_va_list __arg ) ;   5453                                                    __gnuc_va_list __arg ) ;
5454 extern int fwscanf(__FILE * __restrict  __stream ,   5454 extern int fwscanf(__FILE * __restrict  __stream ,
5455                    wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_fwscanf")  ;   5455                    wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_fwscanf")  ;
5456 extern int wscanf(wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_wscanf")  ;   5456 extern int wscanf(wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_wscanf")  ;
5457 extern  __attribute__((__nothrow__)) int swscanf(wchar_t const   * __restrict  __s ,   5457 extern  __attribute__((__nothrow__)) int swscanf(wchar_t const   * __restrict  __s ,
5458                                                  wchar_t const   * __restrict  __format   5458                                                  wchar_t const   * __restrict  __format
5459                                                  , ...)  __asm__("__isoc99_swscanf")  ;   5459                                                  , ...)  __asm__("__isoc99_swscanf")  ;
5460 extern int vfwscanf(__FILE * __restrict  __s ,   5460 extern int vfwscanf(__FILE * __restrict  __s ,
5461                     wchar_t const   * __restrict  __format ,   5461                     wchar_t const   * __restrict  __format ,
5462                     __gnuc_va_list __arg )  __asm__("__isoc99_vfwscanf")  ;   5462                     __gnuc_va_list __arg )  __asm__("__isoc99_vfwscanf")  ;
5463 extern int vwscanf(wchar_t const   * __restrict  __format ,   5463 extern int vwscanf(wchar_t const   * __restrict  __format ,
5464                    __gnuc_va_list __arg )  __asm__("__isoc99_vwscanf")  ;   5464                    __gnuc_va_list __arg )  __asm__("__isoc99_vwscanf")  ;
5465 extern  __attribute__((__nothrow__)) int vswscanf(wchar_t const   * __restrict  __s ,   5465 extern  __attribute__((__nothrow__)) int vswscanf(wchar_t const   * __restrict  __s ,
5466                                                   wchar_t const   * __restrict  __format ,   5466                                                   wchar_t const   * __restrict  __format ,
5467                                                   __gnuc_va_list __arg )  __asm__("__isoc99_vswscanf")  ;   5467                                                   __gnuc_va_list __arg )  __asm__("__isoc99_vswscanf")  ;
5468 extern wint_t fgetwc(__FILE *__stream ) ;   5468 extern wint_t fgetwc(__FILE *__stream ) ;
5469 extern wint_t getwc(__FILE *__stream ) ;   5469 extern wint_t getwc(__FILE *__stream ) ;
5470 extern wint_t getwchar(void) ;   5470 extern wint_t getwchar(void) ;
5471 extern wint_t fputwc(wchar_t __wc , __FILE *__stream ) ;   5471 extern wint_t fputwc(wchar_t __wc , __FILE *__stream ) ;
5472 extern wint_t putwc(wchar_t __wc , __FILE *__stream ) ;   5472 extern wint_t putwc(wchar_t __wc , __FILE *__stream ) ;
5473 extern wint_t putwchar(wchar_t __wc ) ;   5473 extern wint_t putwchar(wchar_t __wc ) ;
5474 extern wchar_t *fgetws(wchar_t * __restrict  __ws , int __n ,   5474 extern wchar_t *fgetws(wchar_t * __restrict  __ws , int __n ,
5475                        __FILE * __restrict  __stream ) ;   5475                        __FILE * __restrict  __stream ) ;
5476 extern int fputws(wchar_t const   * __restrict  __ws ,   5476 extern int fputws(wchar_t const   * __restrict  __ws ,
5477                   __FILE * __restrict  __stream ) ;   5477                   __FILE * __restrict  __stream ) ;
5478 extern wint_t ungetwc(wint_t __wc , __FILE *__stream ) ;   5478 extern wint_t ungetwc(wint_t __wc , __FILE *__stream ) ;
5479 extern  __attribute__((__nothrow__)) size_t wcsftime(wchar_t * __restrict  __s ,   5479 extern  __attribute__((__nothrow__)) size_t wcsftime(wchar_t * __restrict  __s ,
5480                                                      size_t __maxsize ,   5480                                                      size_t __maxsize ,
5481                                                      wchar_t const   * __restrict  __format ,   5481                                                      wchar_t const   * __restrict  __format ,
5482                                                      struct tm  const  * __restrict  __tp ) ;   5482                                                      struct tm  const  * __restrict  __tp ) ;
5483 extern  __attribute__((__nothrow__)) int iswalnum(wint_t __wc ) ;   5483 extern  __attribute__((__nothrow__)) int iswalnum(wint_t __wc ) ;
5484 extern  __attribute__((__nothrow__)) int iswalpha(wint_t __wc ) ;   5484 extern  __attribute__((__nothrow__)) int iswalpha(wint_t __wc ) ;
5485 extern  __attribute__((__nothrow__)) int iswcntrl(wint_t __wc ) ;   5485 extern  __attribute__((__nothrow__)) int iswcntrl(wint_t __wc ) ;
5486 extern  __attribute__((__nothrow__)) int iswdigit(wint_t __wc ) ;   5486 extern  __attribute__((__nothrow__)) int iswdigit(wint_t __wc ) ;
5487 extern  __attribute__((__nothrow__)) int iswgraph(wint_t __wc ) ;   5487 extern  __attribute__((__nothrow__)) int iswgraph(wint_t __wc ) ;
5488 extern  __attribute__((__nothrow__)) int iswlower(wint_t __wc ) ;   5488 extern  __attribute__((__nothrow__)) int iswlower(wint_t __wc ) ;
5489 extern  __attribute__((__nothrow__)) int iswprint(wint_t __wc ) ;   5489 extern  __attribute__((__nothrow__)) int iswprint(wint_t __wc ) ;
5490 extern  __attribute__((__nothrow__)) int iswpunct(wint_t __wc ) ;   5490 extern  __attribute__((__nothrow__)) int iswpunct(wint_t __wc ) ;
5491 extern  __attribute__((__nothrow__)) int iswspace(wint_t __wc ) ;   5491 extern  __attribute__((__nothrow__)) int iswspace(wint_t __wc ) ;
5492 extern  __attribute__((__nothrow__)) int iswupper(wint_t __wc ) ;   5492 extern  __attribute__((__nothrow__)) int iswupper(wint_t __wc ) ;
5493 extern  __attribute__((__nothrow__)) int iswxdigit(wint_t __wc ) ;   5493 extern  __attribute__((__nothrow__)) int iswxdigit(wint_t __wc ) ;
5494 extern  __attribute__((__nothrow__)) int iswblank(wint_t __wc ) ;   5494 extern  __attribute__((__nothrow__)) int iswblank(wint_t __wc ) ;
5495 extern  __attribute__((__nothrow__)) wctype_t wctype(char const   *__property ) ;   5495 extern  __attribute__((__nothrow__)) wctype_t wctype(char const   *__property ) ;
5496 extern  __attribute__((__nothrow__)) int iswctype(wint_t __wc , wctype_t __desc ) ;   5496 extern  __attribute__((__nothrow__)) int iswctype(wint_t __wc , wctype_t __desc ) ;
5497 extern  __attribute__((__nothrow__)) wint_t towlower(wint_t __wc ) ;   5497 extern  __attribute__((__nothrow__)) wint_t towlower(wint_t __wc ) ;
5498 extern  __attribute__((__nothrow__)) wint_t towupper(wint_t __wc ) ;   5498 extern  __attribute__((__nothrow__)) wint_t towupper(wint_t __wc ) ;
5499 extern  __attribute__((__nothrow__)) wctrans_t wctrans(char const   *__property ) ;   5499 extern  __attribute__((__nothrow__)) wctrans_t wctrans(char const   *__property ) ;
5500 extern  __attribute__((__nothrow__)) wint_t towctrans(wint_t __wc ,   5500 extern  __attribute__((__nothrow__)) wint_t towctrans(wint_t __wc ,
5501                                                       wctrans_t __desc ) ;   5501                                                       wctrans_t __desc ) ;
5502 extern  __attribute__((__nothrow__)) int iswalnum_l(wint_t __wc ,   5502 extern  __attribute__((__nothrow__)) int iswalnum_l(wint_t __wc ,
5503                                                     __locale_t __locale ) ;   5503                                                     __locale_t __locale ) ;
5504 extern  __attribute__((__nothrow__)) int iswalpha_l(wint_t __wc ,   5504 extern  __attribute__((__nothrow__)) int iswalpha_l(wint_t __wc ,
5505                                                     __locale_t __locale ) ;   5505                                                     __locale_t __locale ) ;
5506 extern  __attribute__((__nothrow__)) int iswcntrl_l(wint_t __wc ,   5506 extern  __attribute__((__nothrow__)) int iswcntrl_l(wint_t __wc ,
5507                                                     __locale_t __locale ) ;   5507                                                     __locale_t __locale ) ;
5508 extern  __attribute__((__nothrow__)) int iswdigit_l(wint_t __wc ,   5508 extern  __attribute__((__nothrow__)) int iswdigit_l(wint_t __wc ,
5509                                                     __locale_t __locale ) ;   5509                                                     __locale_t __locale ) ;
5510 extern  __attribute__((__nothrow__)) int iswgraph_l(wint_t __wc ,   5510 extern  __attribute__((__nothrow__)) int iswgraph_l(wint_t __wc ,
5511                                                     __locale_t __locale ) ;   5511                                                     __locale_t __locale ) ;
5512 extern  __attribute__((__nothrow__)) int iswlower_l(wint_t __wc ,   5512 extern  __attribute__((__nothrow__)) int iswlower_l(wint_t __wc ,
5513                                                     __locale_t __locale ) ;   5513                                                     __locale_t __locale ) ;
5514 extern  __attribute__((__nothrow__)) int iswprint_l(wint_t __wc ,   5514 extern  __attribute__((__nothrow__)) int iswprint_l(wint_t __wc ,
5515                                                     __locale_t __locale ) ;   5515                                                     __locale_t __locale ) ;
5516 extern  __attribute__((__nothrow__)) int iswpunct_l(wint_t __wc ,   5516 extern  __attribute__((__nothrow__)) int iswpunct_l(wint_t __wc ,
5517                                                     __locale_t __locale ) ;   5517                                                     __locale_t __locale ) ;
5518 extern  __attribute__((__nothrow__)) int iswspace_l(wint_t __wc ,   5518 extern  __attribute__((__nothrow__)) int iswspace_l(wint_t __wc ,
5519                                                     __locale_t __locale ) ;   5519                                                     __locale_t __locale ) ;
5520 extern  __attribute__((__nothrow__)) int iswupper_l(wint_t __wc ,   5520 extern  __attribute__((__nothrow__)) int iswupper_l(wint_t __wc ,
5521                                                     __locale_t __locale ) ;   5521                                                     __locale_t __locale ) ;
5522 extern  __attribute__((__nothrow__)) int iswxdigit_l(wint_t __wc ,   5522 extern  __attribute__((__nothrow__)) int iswxdigit_l(wint_t __wc ,
5523                                                      __locale_t __locale ) ;   5523                                                      __locale_t __locale ) ;
5524 extern  __attribute__((__nothrow__)) int iswblank_l(wint_t __wc ,   5524 extern  __attribute__((__nothrow__)) int iswblank_l(wint_t __wc ,
5525                                                     __locale_t __locale ) ;   5525                                                     __locale_t __locale ) ;
5526 extern  __attribute__((__nothrow__)) wctype_t wctype_l(char const   *__property ,   5526 extern  __attribute__((__nothrow__)) wctype_t wctype_l(char const   *__property ,
5527                                                        __locale_t __locale ) ;   5527                                                        __locale_t __locale ) ;
5528 extern  __attribute__((__nothrow__)) int iswctype_l(wint_t __wc ,   5528 extern  __attribute__((__nothrow__)) int iswctype_l(wint_t __wc ,
5529                                                     wctype_t __desc ,   5529                                                     wctype_t __desc ,
5530                                                     __locale_t __locale ) ;   5530                                                     __locale_t __locale ) ;
5531 extern  __attribute__((__nothrow__)) wint_t towlower_l(wint_t __wc ,   5531 extern  __attribute__((__nothrow__)) wint_t towlower_l(wint_t __wc ,
5532                                                        __locale_t __locale ) ;   5532                                                        __locale_t __locale ) ;
5533 extern  __attribute__((__nothrow__)) wint_t towupper_l(wint_t __wc ,   5533 extern  __attribute__((__nothrow__)) wint_t towupper_l(wint_t __wc ,
5534                                                        __locale_t __locale ) ;   5534                                                        __locale_t __locale ) ;
5535 extern  __attribute__((__nothrow__)) wctrans_t wctrans_l(char const   *__property ,   5535 extern  __attribute__((__nothrow__)) wctrans_t wctrans_l(char const   *__property ,
5536                                                          __locale_t __locale ) ;   5536                                                          __locale_t __locale ) ;
5537 extern  __attribute__((__nothrow__)) wint_t towctrans_l(wint_t __wc ,   5537 extern  __attribute__((__nothrow__)) wint_t towctrans_l(wint_t __wc ,
5538                                                         wctrans_t __desc ,   5538                                                         wctrans_t __desc ,
5539                                                         __locale_t __locale ) ;   5539                                                         __locale_t __locale ) ;
5540 __inline static void fb_wstr_WcharToChar(char *dst , wchar_t const   *src ,   5540 __inline static void fb_wstr_WcharToChar(char *dst , wchar_t const   *src ,
5541                                          int chars )   5541                                          int chars )
5542 {   5542 {
5543   UTF_32 c ;   5543   UTF_32 c ;
5544   wchar_t const   *tmp ;   5544   wchar_t const   *tmp ;
5545   char *tmp___0 ;   5545   char *tmp___0 ;
5546     5546  
5547   {   5547   {
5548   while (chars) {   5548   while (chars) {
5549     tmp = src;   5549     tmp = src;
5550     src ++;   5550     src ++;
5551     c = (UTF_32 )*tmp;   5551     c = (UTF_32 )*tmp;
5552     if (c > 255U) {   5552     if (c > 255U) {
5553       c = (UTF_32 )'?';   5553       c = (UTF_32 )'?';
5554     } else {   5554     } else {
5555     5555  
5556     }   5556     }
5557     tmp___0 = dst;   5557     tmp___0 = dst;
5558     dst ++;   5558     dst ++;
5559     *tmp___0 = (char )c;   5559     *tmp___0 = (char )c;
5560     chars --;   5560     chars --;
5561   }   5561   }
5562   return;   5562   return;
5563 }   5563 }
5564 }   5564 }
5565 __inline static int fb_wstr_CalcDiff(wchar_t const   *ini ,   5565 __inline static int fb_wstr_CalcDiff(wchar_t const   *ini ,
5566                                      wchar_t const   *end )   5566                                      wchar_t const   *end )
5567 {   5567 {
5568     5568  
5569     5569  
5570   {   5570   {
5571   return ((int )((unsigned int )((intptr_t )end - (intptr_t )ini) / sizeof(wchar_t )));   5571   return ((int )((unsigned int )((intptr_t )end - (intptr_t )ini) / sizeof(wchar_t )));
5572 }   5572 }
5573 }   5573 }
5574 __inline static wchar_t *fb_wstr_AllocTemp(int chars )   5574 __inline static wchar_t *fb_wstr_AllocTemp(int chars )
5575 {   5575 {
5576   void *tmp ;   5576   void *tmp ;
5577     5577  
5578   {   5578   {
5579   tmp = malloc((unsigned int )(chars + 1) * sizeof(wchar_t ));   5579   tmp = malloc((unsigned int )(chars + 1) * sizeof(wchar_t ));
5580   return ((wchar_t *)tmp);   5580   return ((wchar_t *)tmp);
5581 }   5581 }
5582 }   5582 }
5583 __inline static void fb_wstr_Del(wchar_t *s )   5583 __inline static void fb_wstr_Del(wchar_t *s )
5584 {   5584 {
5585     5585  
5586     5586  
5587   {   5587   {
5588   free((void *)s);   5588   free((void *)s);
5589   return;   5589   return;
5590 }   5590 }
5591 }   5591 }
5592 __inline static int fb_wstr_Len(wchar_t const   *s )   5592 __inline static int fb_wstr_Len(wchar_t const   *s )
5593 {   5593 {
5594   size_t tmp ;   5594   size_t tmp ;
5595     5595  
5596   {   5596   {
5597   tmp = wcslen(s);   5597   tmp = wcslen(s);
5598   return ((int )tmp);   5598   return ((int )tmp);
5599 }   5599 }
5600 }   5600 }
5601 __inline static void fb_wstr_ConvFromA(wchar_t *dst , int dst_chars ,   5601 __inline static void fb_wstr_ConvFromA(wchar_t *dst , int dst_chars ,
5602                                        char const   *src )   5602                                        char const   *src )
5603 {   5603 {
5604   int chars ;   5604   int chars ;
5605   size_t tmp ;   5605   size_t tmp ;
5606     5606  
5607   {   5607   {
5608   if ((unsigned int )src == (unsigned int )((void *)0)) {   5608   if ((unsigned int )src == (unsigned int )((void *)0)) {
5609     chars = -1;   5609     chars = -1;
5610   } else {   5610   } else {
5611     tmp = mbstowcs((wchar_t */* __restrict  */)dst,   5611     tmp = mbstowcs((wchar_t */* __restrict  */)dst,
5612                    (char const   */* __restrict  */)src,   5612                    (char const   */* __restrict  */)src,
5613                    (size_t )(dst_chars + 1));   5613                    (size_t )(dst_chars + 1));
5614     chars = (int )tmp;   5614     chars = (int )tmp;
5615   }   5615   }
5616   if (chars == -1) {   5616   if (chars == -1) {
5617     *dst = 0L;   5617     *dst = 0L;
5618   } else   5618   } else
5619   if (chars == dst_chars + 1) {   5619   if (chars == dst_chars + 1) {
5620     *(dst + dst_chars) = 0L;   5620     *(dst + dst_chars) = 0L;
5621   } else {   5621   } else {
5622     5622  
5623   }   5623   }
5624   return;   5624   return;
5625 }   5625 }
5626 }   5626 }
5627 __inline static void fb_wstr_ConvToA(char *dst , wchar_t const   *src ,   5627 __inline static void fb_wstr_ConvToA(char *dst , wchar_t const   *src ,
5628                                      int chars )   5628                                      int chars )
5629 {   5629 {
5630     5630  
5631     5631  
5632   {   5632   {
5633   fb_wstr_WcharToChar(dst, src, chars);   5633   fb_wstr_WcharToChar(dst, src, chars);
5634   *(dst + chars) = (char )'\000';   5634   *(dst + chars) = (char )'\000';
5635   return;   5635   return;
5636 }   5636 }
5637 }   5637 }
5638 __inline static int fb_wstr_IsLower(wchar_t c )   5638 __inline static int fb_wstr_IsLower(wchar_t c )
5639 {   5639 {
5640   int tmp ;   5640   int tmp ;
5641     5641  
5642   {   5642   {
5643   tmp = iswlower((wint_t )c);   5643   tmp = iswlower((wint_t )c);
5644   return (tmp);   5644   return (tmp);
5645 }   5645 }
5646 }   5646 }
5647 __inline static int fb_wstr_IsUpper(wchar_t c )   5647 __inline static int fb_wstr_IsUpper(wchar_t c )
5648 {   5648 {
5649   int tmp ;   5649   int tmp ;
5650     5650  
5651   {   5651   {
5652   tmp = iswupper((wint_t )c);   5652   tmp = iswupper((wint_t )c);
5653   return (tmp);   5653   return (tmp);
5654 }   5654 }
5655 }   5655 }
5656 __inline static wchar_t fb_wstr_ToLower(wchar_t c )   5656 __inline static wchar_t fb_wstr_ToLower(wchar_t c )
5657 {   5657 {
5658   wint_t tmp ;   5658   wint_t tmp ;
5659     5659  
5660   {   5660   {
5661   tmp = towlower((wint_t )c);   5661   tmp = towlower((wint_t )c);
5662   return ((wchar_t )tmp);   5662   return ((wchar_t )tmp);
5663 }   5663 }
5664 }   5664 }
5665 __inline static wchar_t fb_wstr_ToUpper(wchar_t c )   5665 __inline static wchar_t fb_wstr_ToUpper(wchar_t c )
5666 {   5666 {
5667   wint_t tmp ;   5667   wint_t tmp ;
5668     5668  
5669   {   5669   {
5670   tmp = towupper((wint_t )c);   5670   tmp = towupper((wint_t )c);
5671   return ((wchar_t )tmp);   5671   return ((wchar_t )tmp);
5672 }   5672 }
5673 }   5673 }
5674 __inline static void fb_wstr_Copy(wchar_t *dst , wchar_t const   *src ,   5674 __inline static void fb_wstr_Copy(wchar_t *dst , wchar_t const   *src ,
5675                                   int chars )   5675                                   int chars )
5676 {   5676 {
5677   void *tmp ;   5677   void *tmp ;
5678     5678  
5679   {   5679   {
5680   if ((unsigned int )src != (unsigned int )((void *)0)) {   5680   if ((unsigned int )src != (unsigned int )((void *)0)) {
5681     if (chars > 0) {   5681     if (chars > 0) {
5682       tmp = FB_MEMCPYX((void *)dst, (void const   *)src,   5682       tmp = FB_MEMCPYX((void *)dst, (void const   *)src,
5683                        (unsigned int )chars * sizeof(wchar_t ));   5683                        (unsigned int )chars * sizeof(wchar_t ));
5684       dst = (wchar_t *)tmp;   5684       dst = (wchar_t *)tmp;
5685     } else {   5685     } else {
5686     5686  
5687     }   5687     }
5688   } else {   5688   } else {
5689     5689  
5690   }   5690   }
5691   *dst = 0L;   5691   *dst = 0L;
5692   return;   5692   return;
5693 }   5693 }
5694 }   5694 }
5695 __inline static wchar_t *fb_wstr_Move(wchar_t *dst , wchar_t const   *src ,   5695 __inline static wchar_t *fb_wstr_Move(wchar_t *dst , wchar_t const   *src ,
5696                                       int chars )   5696                                       int chars )
5697 {   5697 {
5698   void *tmp ;   5698   void *tmp ;
5699     5699  
5700   {   5700   {
5701   tmp = FB_MEMCPYX((void *)dst, (void const   *)src,   5701   tmp = FB_MEMCPYX((void *)dst, (void const   *)src,
5702                    (unsigned int )chars * sizeof(wchar_t ));   5702                    (unsigned int )chars * sizeof(wchar_t ));
5703   return ((wchar_t *)tmp);   5703   return ((wchar_t *)tmp);
5704 }   5704 }
5705 }   5705 }
5706 __inline static void fb_wstr_Fill(wchar_t *dst , wchar_t c , int chars )   5706 __inline static void fb_wstr_Fill(wchar_t *dst , wchar_t c , int chars )
5707 {   5707 {
5708   int i ;   5708   int i ;
5709   wchar_t *tmp ;   5709   wchar_t *tmp ;
5710     5710  
5711   {   5711   {
5712   i = 0;   5712   i = 0;
5713   while (i < chars) {   5713   while (i < chars) {
5714     tmp = dst;   5714     tmp = dst;
5715     dst ++;   5715     dst ++;
5716     *tmp = c;   5716     *tmp = c;
5717     i ++;   5717     i ++;
5718   }   5718   }
5719   *dst = 0L;   5719   *dst = 0L;
5720   return;   5720   return;
5721 }   5721 }
5722 }   5722 }
5723 __inline static wchar_t const   *fb_wstr_SkipChar(wchar_t const   *s ,   5723 __inline static wchar_t const   *fb_wstr_SkipChar(wchar_t const   *s ,
5724                                                   int chars , wchar_t c )   5724                                                   int chars , wchar_t c )
5725 {   5725 {
5726   wchar_t const   *p ;   5726   wchar_t const   *p ;
5727     5727  
5728   {   5728   {
5729   if ((unsigned int )s == (unsigned int )((void *)0)) {   5729   if ((unsigned int )s == (unsigned int )((void *)0)) {
5730     return ((wchar_t const   *)((void *)0));   5730     return ((wchar_t const   *)((void *)0));
5731   } else {   5731   } else {
5732     5732  
5733   }   5733   }
5734   p = s;   5734   p = s;
5735   while (chars > 0) {   5735   while (chars > 0) {
5736     if (*p != (wchar_t const   )c) {   5736     if (*p != (wchar_t const   )c) {
5737       return (p);   5737       return (p);
5738     } else {   5738     } else {
5739     5739  
5740     }   5740     }
5741     p ++;   5741     p ++;
5742     chars --;   5742     chars --;
5743   }   5743   }
5744   return (p);   5744   return (p);
5745 }   5745 }
5746 }   5746 }
5747 __inline static wchar_t const   *fb_wstr_SkipCharRev(wchar_t const   *s ,   5747 __inline static wchar_t const   *fb_wstr_SkipCharRev(wchar_t const   *s ,
5748                                                      int chars , wchar_t c )   5748                                                      int chars , wchar_t c )
5749 {   5749 {
5750   wchar_t const   *p ;   5750   wchar_t const   *p ;
5751     5751  
5752   {   5752   {
5753   if ((unsigned int )s == (unsigned int )((void *)0)) {   5753   if ((unsigned int )s == (unsigned int )((void *)0)) {
5754     return (s);   5754     return (s);
5755   } else   5755   } else
5756   if (chars <= 0) {   5756   if (chars <= 0) {
5757     return (s);   5757     return (s);
5758   } else {   5758   } else {
5759     5759  
5760   }   5760   }
5761   p = s + (chars - 1);   5761   p = s + (chars - 1);
5762   while (chars > 0) {   5762   while (chars > 0) {
5763     if (*p != (wchar_t const   )c) {   5763     if (*p != (wchar_t const   )c) {
5764       return (p);   5764       return (p);
5765     } else {   5765     } else {
5766     5766  
5767     }   5767     }
5768     p --;   5768     p --;
5769     chars --;   5769     chars --;
5770   }   5770   }
5771   return (p);   5771   return (p);
5772 }   5772 }
5773 }   5773 }
5774 __inline static wchar_t *fb_wstr_Instr(wchar_t const   *s ,   5774 __inline static wchar_t *fb_wstr_Instr(wchar_t const   *s ,
5775                                        wchar_t const   *patt )   5775                                        wchar_t const   *patt )
5776 {   5776 {
5777   wchar_t *tmp ;   5777   wchar_t *tmp ;
5778     5778  
5779   {   5779   {
5780   tmp = wcsstr(s, patt);   5780   tmp = wcsstr(s, patt);
5781   return (tmp);   5781   return (tmp);
5782 }   5782 }
5783 }   5783 }
5784 __inline static size_t fb_wstr_InstrAny(wchar_t const   *s ,   5784 __inline static size_t fb_wstr_InstrAny(wchar_t const   *s ,
5785                                         wchar_t const   *sset )   5785                                         wchar_t const   *sset )
5786 {   5786 {
5787   size_t tmp ;   5787   size_t tmp ;
5788     5788  
5789   {   5789   {
5790   tmp = wcscspn(s, sset);   5790   tmp = wcscspn(s, sset);
5791   return (tmp);   5791   return (tmp);
5792 }   5792 }
5793 }   5793 }
5794 __inline static int fb_wstr_Compare(wchar_t const   *str1 ,   5794 __inline static int fb_wstr_Compare(wchar_t const   *str1 ,
5795                                     wchar_t const   *str2 , int chars )   5795                                     wchar_t const   *str2 , int chars )
5796 {   5796 {
5797   int tmp ;   5797   int tmp ;
5798     5798  
5799   {   5799   {
5800   tmp = wcsncmp(str1, str2, (size_t )chars);   5800   tmp = wcsncmp(str1, str2, (size_t )chars);
5801   return (tmp);   5801   return (tmp);
5802 }   5802 }
5803 }   5803 }
5804 extern void fb_hListInit(FB_LIST *list , void *table , int elem_size , int size ) ;   5804 extern void fb_hListInit(FB_LIST *list , void *table , int elem_size , int size ) ;
5805 extern FB_LISTELEM *fb_hListAllocElem(FB_LIST *list ) ;   5805 extern FB_LISTELEM *fb_hListAllocElem(FB_LIST *list ) ;
5806 extern void fb_hListFreeElem(FB_LIST *list , FB_LISTELEM *elem ) ;   5806 extern void fb_hListFreeElem(FB_LIST *list , FB_LISTELEM *elem ) ;
5807 extern void fb_hListDynInit(FB_LIST *list ) ;   5807 extern void fb_hListDynInit(FB_LIST *list ) ;
5808 extern void fb_hListDynElemAdd(FB_LIST *list , FB_LISTELEM *elem ) ;   5808 extern void fb_hListDynElemAdd(FB_LIST *list , FB_LISTELEM *elem ) ;
5809 extern void fb_hListDynElemRemove(FB_LIST *list , FB_LISTELEM *elem ) ;   5809 extern void fb_hListDynElemRemove(FB_LIST *list , FB_LISTELEM *elem ) ;
5810 extern FB_ERRHANDLER fb_ErrorThrowEx(int errnum , int linenum ,   5810 extern FB_ERRHANDLER fb_ErrorThrowEx(int errnum , int linenum ,
5811                                      char const   *fname , void *res_label ,   5811                                      char const   *fname , void *res_label ,
5812                                      void *resnext_label ) ;   5812                                      void *resnext_label ) ;
5813 extern FB_ERRHANDLER fb_ErrorSetHandler(void (*newhandler)(void) ) ;   5813 extern FB_ERRHANDLER fb_ErrorSetHandler(void (*newhandler)(void) ) ;
5814 extern int fb_ErrorGetNum(void) ;   5814 extern int fb_ErrorGetNum(void) ;
5815 extern int fb_ErrorSetNum(int errnum ) ;   5815 extern int fb_ErrorSetNum(int errnum ) ;
5816 extern void *fb_ErrorResume(void) ;   5816 extern void *fb_ErrorResume(void) ;
5817 extern void *fb_ErrorResumeNext(void) ;   5817 extern void *fb_ErrorResumeNext(void) ;
5818 __inline static void fb_hStrSetLength(FBSTRING *str , size_t size )   5818 __inline static void fb_hStrSetLength(FBSTRING *str , size_t size )
5819 {   5819 {
5820     5820  
5821     5821  
5822   {   5822   {
5823   str->len = (int )((unsigned long )size | ((unsigned long )str->len & 2147483648UL));   5823   str->len = (int )((unsigned long )size | ((unsigned long )str->len & 2147483648UL));
5824   return;   5824   return;
5825 }   5825 }
5826 }   5826 }
5827 extern FBSTRING *fb_hStrAllocTmpDesc(void) ;   5827 extern FBSTRING *fb_hStrAllocTmpDesc(void) ;
5828 extern int fb_hStrDelTempDesc(FBSTRING *str ) ;   5828 extern int fb_hStrDelTempDesc(FBSTRING *str ) ;
5829 extern FBSTRING *fb_hStrAlloc(FBSTRING *str , int size ) ;   5829 extern FBSTRING *fb_hStrAlloc(FBSTRING *str , int size ) ;
5830 extern FBSTRING *fb_hStrRealloc(FBSTRING *str , int size , int preserve ) ;   5830 extern FBSTRING *fb_hStrRealloc(FBSTRING *str , int size , int preserve ) ;
5831 extern FBSTRING *fb_hStrAllocTemp(FBSTRING *str , int size ) ;   5831 extern FBSTRING *fb_hStrAllocTemp(FBSTRING *str , int size ) ;
5832 extern FBSTRING *fb_hStrAllocTemp_NoLock(FBSTRING *str , int size ) ;   5832 extern FBSTRING *fb_hStrAllocTemp_NoLock(FBSTRING *str , int size ) ;
5833 extern int fb_hStrDelTemp(FBSTRING *str ) ;   5833 extern int fb_hStrDelTemp(FBSTRING *str ) ;
5834 extern int fb_hStrDelTemp_NoLock(FBSTRING *str ) ;   5834 extern int fb_hStrDelTemp_NoLock(FBSTRING *str ) ;
5835 extern void fb_hStrCopy(char *dst , char const   *src , int bytes ) ;   5835 extern void fb_hStrCopy(char *dst , char const   *src , int bytes ) ;
5836 extern char *fb_hStrSkipChar(char *s , int len , int c ) ;   5836 extern char *fb_hStrSkipChar(char *s , int len , int c ) ;
5837 extern char *fb_hStrSkipCharRev(char *s , int len , int c ) ;   5837 extern char *fb_hStrSkipCharRev(char *s , int len , int c ) ;
5838 extern void *fb_StrInit(void *dst , int dst_size , void *src , int src_size ,   5838 extern void *fb_StrInit(void *dst , int dst_size , void *src , int src_size ,
5839                         int fill_rem ) ;   5839                         int fill_rem ) ;
5840 extern void *fb_StrAssign(void *dst , int dst_size , void *src , int src_size ,   5840 extern void *fb_StrAssign(void *dst , int dst_size , void *src , int src_size ,
5841                           int fill_rem ) ;   5841                           int fill_rem ) ;
5842 extern void *fb_StrAssignEx(void *dst , int dst_size , void *src ,   5842 extern void *fb_StrAssignEx(void *dst , int dst_size , void *src ,
5843                             int src_size , int fill_rem , int is_init ) ;   5843                             int src_size , int fill_rem , int is_init ) ;
5844 extern void fb_StrDelete(FBSTRING *str ) ;   5844 extern void fb_StrDelete(FBSTRING *str ) ;
5845 extern FBSTRING *fb_StrConcat(FBSTRING *dst , void *str1 , int str1_size ,   5845 extern FBSTRING *fb_StrConcat(FBSTRING *dst , void *str1 , int str1_size ,
5846                               void *str2 , int str2_size ) ;   5846                               void *str2 , int str2_size ) ;
5847 extern void *fb_StrConcatAssign(void *dst , int dst_size , void *src ,   5847 extern void *fb_StrConcatAssign(void *dst , int dst_size , void *src ,
5848                                 int src_size , int fillrem ) ;   5848                                 int src_size , int fillrem ) ;
5849 extern int fb_StrCompare(void *str1 , int str1_size , void *str2 ,   5849 extern int fb_StrCompare(void *str1 , int str1_size , void *str2 ,
5850                          int str2_size ) ;   5850                          int str2_size ) ;
5851 extern FBSTRING *fb_StrAllocTempResult(FBSTRING *src ) ;   5851 extern FBSTRING *fb_StrAllocTempResult(FBSTRING *src ) ;
5852 extern FBSTRING *fb_StrAllocTempDescF(char *str , int str_size ) ;   5852 extern FBSTRING *fb_StrAllocTempDescF(char *str , int str_size ) ;
5853 extern FBSTRING *fb_StrAllocTempDescV(FBSTRING *str ) ;   5853 extern FBSTRING *fb_StrAllocTempDescV(FBSTRING *str ) ;
5854 extern FBSTRING *fb_StrAllocTempDescZ(char const   *str ) ;   5854 extern FBSTRING *fb_StrAllocTempDescZ(char const   *str ) ;
5855 extern int fb_StrLen(void *str , int str_size ) ;   5855 extern int fb_StrLen(void *str , int str_size ) ;
5856 extern FBSTRING *fb_IntToStr(int num ) ;   5856 extern FBSTRING *fb_IntToStr(int num ) ;
5857 extern FBSTRING *fb_UIntToStr(unsigned int num ) ;   5857 extern FBSTRING *fb_UIntToStr(unsigned int num ) ;
5858 extern FBSTRING *fb_FloatToStr(float num ) ;   5858 extern FBSTRING *fb_FloatToStr(float num ) ;
5859 extern FBSTRING *fb_DoubleToStr(double num ) ;   5859 extern FBSTRING *fb_DoubleToStr(double num ) ;
5860 extern double fb_hStr2Double(char *src , int len ) ;   5860 extern double fb_hStr2Double(char *src , int len ) ;
5861 extern int fb_hStr2Int(char *src , int len ) ;   5861 extern int fb_hStr2Int(char *src , int len ) ;
5862 extern unsigned int fb_hStr2UInt(char *src , int len ) ;   5862 extern unsigned int fb_hStr2UInt(char *src , int len ) ;
5863 long long fb_hStr2Longint(char *src , int len ) ;   5863 long long fb_hStr2Longint(char *src , int len ) ;
5864 extern unsigned long long fb_hStr2ULongint(char *src , int len ) ;   5864 extern unsigned long long fb_hStr2ULongint(char *src , int len ) ;
5865 extern int fb_hStrRadix2Int(char *src , int len , int radix ) ;   5865 extern int fb_hStrRadix2Int(char *src , int len , int radix ) ;
5866 extern long long fb_hStrRadix2Longint(char *s , int len , int radix ) ;   5866 extern long long fb_hStrRadix2Longint(char *s , int len , int radix ) ;
5867 extern char *fb_hFloat2Str(double val , char *buffer , int digits , int mask ) ;   5867 extern char *fb_hFloat2Str(double val , char *buffer , int digits , int mask ) ;
5868 extern FBSTRING *fb_CHR(int args  , ...) ;   5868 extern FBSTRING *fb_CHR(int args  , ...) ;
5869 extern unsigned int fb_ASC(FBSTRING *str , int pos ) ;   5869 extern unsigned int fb_ASC(FBSTRING *str , int pos ) ;
5870 extern double fb_VAL(FBSTRING *str ) ;   5870 extern double fb_VAL(FBSTRING *str ) ;
5871 extern double fb_CVD(FBSTRING *str ) ;   5871 extern double fb_CVD(FBSTRING *str ) ;
5872 extern int fb_CVI(FBSTRING *str ) ;   5872 extern int fb_CVI(FBSTRING *str ) ;
5873 extern FBSTRING *fb_HEX(int num ) ;   5873 extern FBSTRING *fb_HEX(int num ) ;
5874 extern FBSTRING *fb_OCT(int num ) ;   5874 extern FBSTRING *fb_OCT(int num ) ;
5875 extern FBSTRING *fb_BIN(int num ) ;   5875 extern FBSTRING *fb_BIN(int num ) ;
5876 extern FBSTRING *fb_MKD(double num ) ;   5876 extern FBSTRING *fb_MKD(double num ) ;
5877 extern FBSTRING *fb_MKI(int num ) ;   5877 extern FBSTRING *fb_MKI(int num ) ;
5878 extern FBSTRING *fb_MKS(float num ) ;   5878 extern FBSTRING *fb_MKS(float num ) ;
5879 extern FBSTRING *fb_LEFT(FBSTRING *str , int chars ) ;   5879 extern FBSTRING *fb_LEFT(FBSTRING *str , int chars ) ;
5880 extern FBSTRING *fb_RIGHT(FBSTRING *str , int chars ) ;   5880 extern FBSTRING *fb_RIGHT(FBSTRING *str , int chars ) ;
5881 extern FBSTRING *fb_SPACE(int chars ) ;   5881 extern FBSTRING *fb_SPACE(int chars ) ;
5882 extern FBSTRING *fb_LTRIM(FBSTRING *str ) ;   5882 extern FBSTRING *fb_LTRIM(FBSTRING *str ) ;
5883 extern FBSTRING *fb_LTrimEx(FBSTRING *str , FBSTRING *pattern ) ;   5883 extern FBSTRING *fb_LTrimEx(FBSTRING *str , FBSTRING *pattern ) ;
5884 extern FBSTRING *fb_LTrimAny(FBSTRING *str , FBSTRING *pattern ) ;   5884 extern FBSTRING *fb_LTrimAny(FBSTRING *str , FBSTRING *pattern ) ;
5885 extern FBSTRING *fb_RTRIM(FBSTRING *str ) ;   5885 extern FBSTRING *fb_RTRIM(FBSTRING *str ) ;
5886 extern FBSTRING *fb_RTrimEx(FBSTRING *str , FBSTRING *pattern ) ;   5886 extern FBSTRING *fb_RTrimEx(FBSTRING *str , FBSTRING *pattern ) ;
5887 extern FBSTRING *fb_RTrimAny(FBSTRING *str , FBSTRING *pattern ) ;   5887 extern FBSTRING *fb_RTrimAny(FBSTRING *str , FBSTRING *pattern ) ;
5888 extern FBSTRING *fb_TRIM(FBSTRING *src ) ;   5888 extern FBSTRING *fb_TRIM(FBSTRING *src ) ;
5889 extern FBSTRING *fb_TrimEx(FBSTRING *str , FBSTRING *pattern ) ;   5889 extern FBSTRING *fb_TrimEx(FBSTRING *str , FBSTRING *pattern ) ;
5890 extern FBSTRING *fb_TrimAny(FBSTRING *str , FBSTRING *pattern ) ;   5890 extern FBSTRING *fb_TrimAny(FBSTRING *str , FBSTRING *pattern ) ;
5891 extern FBSTRING *fb_LCASE(FBSTRING *str ) ;   5891 extern FBSTRING *fb_LCASE(FBSTRING *str ) ;
5892 extern FBSTRING *fb_UCASE(FBSTRING *str ) ;   5892 extern FBSTRING *fb_UCASE(FBSTRING *str ) ;
5893 extern FBSTRING *fb_StrFill1(int cnt , int fchar ) ;   5893 extern FBSTRING *fb_StrFill1(int cnt , int fchar ) ;
5894 extern FBSTRING *fb_StrFill2(int cnt , FBSTRING *src ) ;   5894 extern FBSTRING *fb_StrFill2(int cnt , FBSTRING *src ) ;
5895 extern int fb_StrInstr(int start , FBSTRING *src , FBSTRING *patt ) ;   5895 extern int fb_StrInstr(int start , FBSTRING *src , FBSTRING *patt ) ;
5896 extern int fb_StrInstrAny(int start , FBSTRING *src , FBSTRING *patt ) ;   5896 extern int fb_StrInstrAny(int start , FBSTRING *src , FBSTRING *patt ) ;
5897 extern int fb_StrInstrRev(FBSTRING *src , FBSTRING *patt , int start ) ;   5897 extern int fb_StrInstrRev(FBSTRING *src , FBSTRING *patt , int start ) ;
5898 extern int fb_StrInstrRevAny(FBSTRING *src , FBSTRING *patt , int start ) ;   5898 extern int fb_StrInstrRevAny(FBSTRING *src , FBSTRING *patt , int start ) ;
5899 extern FBSTRING *fb_StrMid(FBSTRING *src , int start , int len ) ;   5899 extern FBSTRING *fb_StrMid(FBSTRING *src , int start , int len ) ;
5900 extern void fb_StrAssignMid(FBSTRING *dst , int start , int len , FBSTRING *src ) ;   5900 extern void fb_StrAssignMid(FBSTRING *dst , int start , int len , FBSTRING *src ) ;
5901 extern void fb_WstrDelete(wchar_t *str ) ;   5901 extern void fb_WstrDelete(wchar_t *str ) ;
5902 extern wchar_t *fb_WstrAssign(wchar_t *dst , int dst_chars , wchar_t *src ) ;   5902 extern wchar_t *fb_WstrAssign(wchar_t *dst , int dst_chars , wchar_t *src ) ;
5903 extern wchar_t *fb_WstrAssignFromA(wchar_t *dst , int dst_chars , void *src ,   5903 extern wchar_t *fb_WstrAssignFromA(wchar_t *dst , int dst_chars , void *src ,
5904                                    int src_chars ) ;   5904                                    int src_chars ) ;
5905 extern void *fb_WstrAssignToA(void *dst , int dst_chars , wchar_t *src ,   5905 extern void *fb_WstrAssignToA(void *dst , int dst_chars , wchar_t *src ,
5906                               int fill_rem ) ;   5906                               int fill_rem ) ;
5907 extern void *fb_WstrAssignToAEx(void *dst , int dst_chars , wchar_t *src ,   5907 extern void *fb_WstrAssignToAEx(void *dst , int dst_chars , wchar_t *src ,
5908                                 int fill_rem , int is_init ) ;   5908                                 int fill_rem , int is_init ) ;
5909 extern wchar_t *fb_WstrConcat(wchar_t const   *str1 , wchar_t const   *str2 ) ;   5909 extern wchar_t *fb_WstrConcat(wchar_t const   *str1 , wchar_t const   *str2 ) ;
5910 extern wchar_t *fb_WstrConcatWA(wchar_t const   *str1 , void const   *str2 ,   5910 extern wchar_t *fb_WstrConcatWA(wchar_t const   *str1 , void const   *str2 ,
5911                                 int str2_size ) ;   5911                                 int str2_size ) ;
5912 extern wchar_t *fb_WstrConcatAW(void const   *str1 , int str1_size ,   5912 extern wchar_t *fb_WstrConcatAW(void const   *str1 , int str1_size ,
5913                                 wchar_t const   *str2 ) ;   5913                                 wchar_t const   *str2 ) ;
5914 extern wchar_t *fb_WstrConcatAssign(wchar_t *dst , int dst_chars ,   5914 extern wchar_t *fb_WstrConcatAssign(wchar_t *dst , int dst_chars ,
5915                                     wchar_t const   *src ) ;   5915                                     wchar_t const   *src ) ;
5916 extern int fb_WstrLen(wchar_t *str ) ;   5916 extern int fb_WstrLen(wchar_t *str ) ;
5917 extern int fb_WstrCompare(wchar_t const   *str1 , wchar_t const   *str2 ) ;   5917 extern int fb_WstrCompare(wchar_t const   *str1 , wchar_t const   *str2 ) ;
5918 extern wchar_t *fb_IntToWstr(int num ) ;   5918 extern wchar_t *fb_IntToWstr(int num ) ;
5919 extern wchar_t *fb_UIntToWstr(unsigned int num ) ;   5919 extern wchar_t *fb_UIntToWstr(unsigned int num ) ;
5920 extern wchar_t *fb_FloatToWstr(float num ) ;   5920 extern wchar_t *fb_FloatToWstr(float num ) ;
5921 extern wchar_t *fb_FloatExToWstr(double val , wchar_t *buffer , int digits ,   5921 extern wchar_t *fb_FloatExToWstr(double val , wchar_t *buffer , int digits ,
5922                                  int mask ) ;   5922                                  int mask ) ;
5923 extern wchar_t *fb_DoubleToWstr(double num ) ;   5923 extern wchar_t *fb_DoubleToWstr(double num ) ;
5924 extern wchar_t *fb_StrToWstr(char const   *src ) ;   5924 extern wchar_t *fb_StrToWstr(char const   *src ) ;
5925 extern FBSTRING *fb_WstrToStr(wchar_t const   *src ) ;   5925 extern FBSTRING *fb_WstrToStr(wchar_t const   *src ) ;
5926 extern double fb_WstrToDouble(wchar_t const   *src , int len ) ;   5926 extern double fb_WstrToDouble(wchar_t const   *src , int len ) ;
5927 extern int fb_WstrToInt(wchar_t const   *src , int len ) ;   5927 extern int fb_WstrToInt(wchar_t const   *src , int len ) ;
5928 extern unsigned int fb_WstrToUInt(wchar_t const   *src , int len ) ;   5928 extern unsigned int fb_WstrToUInt(wchar_t const   *src , int len ) ;
5929 extern long long fb_WstrToLongint(wchar_t const   *src , int len ) ;   5929 extern long long fb_WstrToLongint(wchar_t const   *src , int len ) ;
5930 extern unsigned long long fb_WstrToULongint(wchar_t const   *src , int len ) ;   5930 extern unsigned long long fb_WstrToULongint(wchar_t const   *src , int len ) ;
5931 extern int fb_WstrRadix2Int(wchar_t const   *src , int len , int radix ) ;   5931 extern int fb_WstrRadix2Int(wchar_t const   *src , int len , int radix ) ;
5932 extern long long fb_WstrRadix2Longint(wchar_t const   *s , int len , int radix ) ;   5932 extern long long fb_WstrRadix2Longint(wchar_t const   *s , int len , int radix ) ;
5933 extern wchar_t *fb_WstrChr(int args  , ...) ;   5933 extern wchar_t *fb_WstrChr(int args  , ...) ;
5934 extern unsigned int fb_WstrAsc(wchar_t const   *str , int pos ) ;   5934 extern unsigned int fb_WstrAsc(wchar_t const   *str , int pos ) ;
5935 extern double fb_WstrVal(wchar_t const   *str ) ;   5935 extern double fb_WstrVal(wchar_t const   *str ) ;
5936 extern int fb_WstrValInt(wchar_t const   *str ) ;   5936 extern int fb_WstrValInt(wchar_t const   *str ) ;
5937 extern unsigned int fb_WstrValUInt(wchar_t const   *str ) ;   5937 extern unsigned int fb_WstrValUInt(wchar_t const   *str ) ;
5938 extern long long fb_WstrValLng(wchar_t const   *str ) ;   5938 extern long long fb_WstrValLng(wchar_t const   *str ) ;
5939 extern unsigned long long fb_WstrValULng(wchar_t const   *str ) ;   5939 extern unsigned long long fb_WstrValULng(wchar_t const   *str ) ;
5940 extern wchar_t *fb_WstrLeft(wchar_t const   *str , int chars ) ;   5940 extern wchar_t *fb_WstrLeft(wchar_t const   *str , int chars ) ;
5941 extern wchar_t *fb_WstrRight(wchar_t const   *str , int chars ) ;   5941 extern wchar_t *fb_WstrRight(wchar_t const   *str , int chars ) ;
5942 extern wchar_t *fb_WstrSpace(int chars ) ;   5942 extern wchar_t *fb_WstrSpace(int chars ) ;
5943 extern wchar_t *fb_WstrLTrim(wchar_t const   *str ) ;   5943 extern wchar_t *fb_WstrLTrim(wchar_t const   *str ) ;
5944 extern wchar_t *fb_WstrLTrimEx(wchar_t const   *str , wchar_t const   *pattern ) ;   5944 extern wchar_t *fb_WstrLTrimEx(wchar_t const   *str , wchar_t const   *pattern ) ;
5945 extern wchar_t *fb_WstrLTrimAny(wchar_t const   *str , wchar_t const   *pattern ) ;   5945 extern wchar_t *fb_WstrLTrimAny(wchar_t const   *str , wchar_t const   *pattern ) ;
5946 extern wchar_t *fb_WstrRTrim(wchar_t const   *str ) ;   5946 extern wchar_t *fb_WstrRTrim(wchar_t const   *str ) ;
5947 extern wchar_t *fb_WstrRTrimEx(wchar_t const   *str , wchar_t const   *pattern ) ;   5947 extern wchar_t *fb_WstrRTrimEx(wchar_t const   *str , wchar_t const   *pattern ) ;
5948 extern wchar_t *fb_WstrRTrimAny(wchar_t const   *str , wchar_t const   *pattern ) ;   5948 extern wchar_t *fb_WstrRTrimAny(wchar_t const   *str , wchar_t const   *pattern ) ;
5949 extern wchar_t *fb_WstrTrim(wchar_t const   *src ) ;   5949 extern wchar_t *fb_WstrTrim(wchar_t const   *src ) ;
5950 extern wchar_t *fb_WstrTrimEx(wchar_t const   *str , wchar_t const   *pattern ) ;   5950 extern wchar_t *fb_WstrTrimEx(wchar_t const   *str , wchar_t const   *pattern ) ;
5951 extern wchar_t *fb_WstrTrimAny(wchar_t const   *str , wchar_t const   *pattern ) ;   5951 extern wchar_t *fb_WstrTrimAny(wchar_t const   *str , wchar_t const   *pattern ) ;
5952 extern wchar_t *fb_WstrLcase(wchar_t const   *str ) ;   5952 extern wchar_t *fb_WstrLcase(wchar_t const   *str ) ;
5953 extern wchar_t *fb_WstrUcase(wchar_t const   *str ) ;   5953 extern wchar_t *fb_WstrUcase(wchar_t const   *str ) ;
5954 extern wchar_t *fb_WstrFill1(int cnt , wchar_t c ) ;   5954 extern wchar_t *fb_WstrFill1(int cnt , wchar_t c ) ;
5955 extern wchar_t *fb_WstrFill2(int cnt , wchar_t const   *src ) ;   5955 extern wchar_t *fb_WstrFill2(int cnt , wchar_t const   *src ) ;
5956 extern int fb_WstrInstr(int start , wchar_t const   *src ,   5956 extern int fb_WstrInstr(int start , wchar_t const   *src ,
5957                         wchar_t const   *patt ) ;   5957                         wchar_t const   *patt ) ;
5958 extern int fb_WstrInstrAny(int start , wchar_t const   *src ,   5958 extern int fb_WstrInstrAny(int start , wchar_t const   *src ,
5959                            wchar_t const   *patt ) ;   5959                            wchar_t const   *patt ) ;
5960 extern int fb_WstrInstrRev(wchar_t const   *src , wchar_t const   *patt ,   5960 extern int fb_WstrInstrRev(wchar_t const   *src , wchar_t const   *patt ,
5961                            int start ) ;   5961                            int start ) ;
5962 extern int fb_WstrInstrRevAny(wchar_t const   *src , wchar_t const   *patt ,   5962 extern int fb_WstrInstrRevAny(wchar_t const   *src , wchar_t const   *patt ,
5963                               int start ) ;   5963                               int start ) ;
5964 extern wchar_t *fb_WstrMid(wchar_t const   *src , int start , int len ) ;   5964 extern wchar_t *fb_WstrMid(wchar_t const   *src , int start , int len ) ;
5965 extern void fb_WstrAssignMid(wchar_t *dst , int dst_len , int start , int len ,   5965 extern void fb_WstrAssignMid(wchar_t *dst , int dst_len , int start , int len ,
5966                              wchar_t const   *src ) ;   5966                              wchar_t const   *src ) ;
5967 extern FBSTRING *fb_StrFormat(double value , FBSTRING *mask ) ;   5967 extern FBSTRING *fb_StrFormat(double value , FBSTRING *mask ) ;
5968 extern FBSTRING *fb_hStrFormat(double value , char const   *mask ,   5968 extern FBSTRING *fb_hStrFormat(double value , char const   *mask ,
5969                                size_t mask_length ) ;   5969                                size_t mask_length ) ;
5970 extern int fb_ArrayRedim(FBARRAY *array , int element_len , int preserve ,   5970 extern int fb_ArrayRedim(FBARRAY *array , int element_len , int preserve ,
5971                          int dimensions  , ...) ;   5971                          int dimensions  , ...) ;
5972 extern int fb_ArrayRedimEx(FBARRAY *array , int element_len , int doclear ,   5972 extern int fb_ArrayRedimEx(FBARRAY *array , int element_len , int doclear ,
5973                            int isvarlen , int dimensions  , ...) ;   5973                            int isvarlen , int dimensions  , ...) ;
5974 extern int fb_ArrayRedimObj(FBARRAY *array , int element_len ,   5974 extern int fb_ArrayRedimObj(FBARRAY *array , int element_len ,
5975                             void (*ctor)(void const   *this_ ) ,   5975                             void (*ctor)(void const   *this_ ) ,
5976                             void (*dtor)(void const   *this_ ) , int dimensions   5976                             void (*dtor)(void const   *this_ ) , int dimensions
5977                             , ...) ;   5977                             , ...) ;
5978 extern int fb_ArrayRedimPresv(FBARRAY *array , int element_len , int preserve ,   5978 extern int fb_ArrayRedimPresv(FBARRAY *array , int element_len , int preserve ,
5979                               int dimensions  , ...) ;   5979                               int dimensions  , ...) ;
5980 extern int fb_ArrayRedimPresvEx(FBARRAY *array , int element_len , int doclear ,   5980 extern int fb_ArrayRedimPresvEx(FBARRAY *array , int element_len , int doclear ,
5981                                 int isvarlen , int dimensions  , ...) ;   5981                                 int isvarlen , int dimensions  , ...) ;
5982 extern int fb_ArrayRedimPresvObj(FBARRAY *array , int element_len ,   5982 extern int fb_ArrayRedimPresvObj(FBARRAY *array , int element_len ,
5983                                  void (*ctor)(void const   *this_ ) ,   5983                                  void (*ctor)(void const   *this_ ) ,
5984                                  void (*dtor)(void const   *this_ ) ,   5984                                  void (*dtor)(void const   *this_ ) ,
5985                                  int dimensions  , ...) ;   5985                                  int dimensions  , ...) ;
5986 extern int fb_ArrayErase(FBARRAY *array , int isvarlen ) ;   5986 extern int fb_ArrayErase(FBARRAY *array , int isvarlen ) ;
5987 extern int fb_ArrayEraseObj(FBARRAY *array , void (*dtor)(void const   *this_ ) ) ;   5987 extern int fb_ArrayEraseObj(FBARRAY *array , void (*dtor)(void const   *this_ ) ) ;
5988 extern void fb_ArrayStrErase(FBARRAY *array ) ;   5988 extern void fb_ArrayStrErase(FBARRAY *array ) ;
5989 extern int fb_ArrayClear(FBARRAY *array , int isvarlen ) ;   5989 extern int fb_ArrayClear(FBARRAY *array , int isvarlen ) ;
5990 extern int fb_ArrayClearObj(FBARRAY *array ,   5990 extern int fb_ArrayClearObj(FBARRAY *array ,
5991                             void (*ctor)(void const   *this_ ) ,   5991                             void (*ctor)(void const   *this_ ) ,
5992                             void (*dtor)(void const   *this_ ) , int dofill ) ;   5992                             void (*dtor)(void const   *this_ ) , int dofill ) ;
5993 extern void fb_ArrayResetDesc(FBARRAY *array ) ;   5993 extern void fb_ArrayResetDesc(FBARRAY *array ) ;
5994 extern int fb_ArrayLBound(FBARRAY *array , int dimension ) ;   5994 extern int fb_ArrayLBound(FBARRAY *array , int dimension ) ;
5995 extern int fb_ArrayUBound(FBARRAY *array , int dimension ) ;   5995 extern int fb_ArrayUBound(FBARRAY *array , int dimension ) ;
5996 extern int fb_hArrayCalcElements(int dimensions , int const   *lboundTB ,   5996 extern int fb_hArrayCalcElements(int dimensions , int const   *lboundTB ,
5997                                  int const   *uboundTB ) ;   5997                                  int const   *uboundTB ) ;
5998 extern int fb_hArrayCalcDiff(int dimensions , int const   *lboundTB ,   5998 extern int fb_hArrayCalcDiff(int dimensions , int const   *lboundTB ,
5999                              int const   *uboundTB ) ;   5999                              int const   *uboundTB ) ;
6000 extern int fb_hArrayAlloc(FBARRAY *array , int element_len , int doclear ,   6000 extern int fb_hArrayAlloc(FBARRAY *array , int element_len , int doclear ,
6001                           void (*ctor)(void const   *this_ ) , int dimensions ,   6001                           void (*ctor)(void const   *this_ ) , int dimensions ,
6002                           va_list ap ) ;   6002                           va_list ap ) ;
6003 extern int fb_hArrayRealloc(FBARRAY *array , int element_len , int doclear ,   6003 extern int fb_hArrayRealloc(FBARRAY *array , int element_len , int doclear ,
6004                             void (*ctor)(void const   *this_ ) ,   6004                             void (*ctor)(void const   *this_ ) ,
6005                             void (*dtor_mult)(FBARRAY *array ,   6005                             void (*dtor_mult)(FBARRAY *array ,
6006                                               void (*dtor)(void const   *this_ ) ,   6006                                               void (*dtor)(void const   *this_ ) ,
6007                                               int base_idx ) ,   6007                                               int base_idx ) ,
6008                             void (*dtor)(void const   *this_ ) ,   6008                             void (*dtor)(void const   *this_ ) ,
6009                             int dimensions , va_list ap ) ;   6009                             int dimensions , va_list ap ) ;
6010 extern void fb_hArrayDtorStr(FBARRAY *array ,   6010 extern void fb_hArrayDtorStr(FBARRAY *array ,
6011                              void (*dtor)(void const   *this_ ) , int base_idx ) ;   6011                              void (*dtor)(void const   *this_ ) , int base_idx ) ;
6012 extern void fb_hArrayDtorObj(FBARRAY *array ,   6012 extern void fb_hArrayDtorObj(FBARRAY *array ,
6013                              void (*dtor)(void const   *this_ ) , int base_idx ) ;   6013                              void (*dtor)(void const   *this_ ) , int base_idx ) ;
6014 extern void fb_hArrayCtorObj(FBARRAY *array ,   6014 extern void fb_hArrayCtorObj(FBARRAY *array ,
6015                              void (*ctor)(void const   *this_ ) , int base_idx ) ;   6015                              void (*ctor)(void const   *this_ ) , int base_idx ) ;
6016 extern void fb_Init(int argc , char **argv , int lang ) ;   6016 extern void fb_Init(int argc , char **argv , int lang ) ;
6017 extern void fb_End(int errlevel ) ;   6017 extern void fb_End(int errlevel ) ;
6018 extern void fb_RtInit(void) ;   6018 extern void fb_RtInit(void) ;
6019 extern void fb_RtExit(void) ;   6019 extern void fb_RtExit(void) ;
6020 extern void fb_InitSignals(void) ;   6020 extern void fb_InitSignals(void) ;
6021 extern void fb_MemSwap(unsigned char *dst , unsigned char *src , int bytes ) ;   6021 extern void fb_MemSwap(unsigned char *dst , unsigned char *src , int bytes ) ;
6022 extern void fb_StrSwap(void *str1 , int str1_size , void *str2 , int str2_size ) ;   6022 extern void fb_StrSwap(void *str1 , int str1_size , void *str2 , int str2_size ) ;
6023 extern void fb_hInit(void) ;   6023 extern void fb_hInit(void) ;
6024 extern void fb_hEnd(int errlevel ) ;   6024 extern void fb_hEnd(int errlevel ) ;
6025 extern void fb_hInitSignals(void) ;   6025 extern void fb_hInitSignals(void) ;
6026 extern void fb_Beep(void) ;   6026 extern void fb_Beep(void) ;
6027 extern FBSTRING *fb_Command(int argc ) ;   6027 extern FBSTRING *fb_Command(int argc ) ;
6028 extern FBSTRING *fb_CurDir(void) ;   6028 extern FBSTRING *fb_CurDir(void) ;
6029 extern FBSTRING *fb_ExePath(void) ;   6029 extern FBSTRING *fb_ExePath(void) ;
6030 extern int fb_Shell(FBSTRING *program ) ;   6030 extern int fb_Shell(FBSTRING *program ) ;
6031 extern int fb_Run(FBSTRING *program ) ;   6031 extern int fb_Run(FBSTRING *program ) ;
6032 extern int fb_Chain(FBSTRING *program ) ;   6032 extern int fb_Chain(FBSTRING *program ) ;
6033 extern int fb_Exec(FBSTRING *program , FBSTRING *args ) ;   6033 extern int fb_Exec(FBSTRING *program , FBSTRING *args ) ;
6034 extern int fb_ExecEx(FBSTRING *program , FBSTRING *args , int do_wait ) ;   6034 extern int fb_ExecEx(FBSTRING *program , FBSTRING *args , int do_wait ) ;
6035 extern int fb_hParseArgs(char *dst , char const   *src , int length ) ;   6035 extern int fb_hParseArgs(char *dst , char const   *src , int length ) ;
6036 extern void *fb_DylibLoad(FBSTRING *library ) ;   6036 extern void *fb_DylibLoad(FBSTRING *library ) ;
6037 extern void *fb_DylibSymbol(void *library , FBSTRING *symbol ) ;   6037 extern void *fb_DylibSymbol(void *library , FBSTRING *symbol ) ;
6038 extern void *fb_DylibSymbolByOrd(void *library , short symbol ) ;   6038 extern void *fb_DylibSymbolByOrd(void *library , short symbol ) ;
6039 extern void fb_DylibFree(void *library ) ;   6039 extern void fb_DylibFree(void *library ) ;
6040 extern void *fb_hDynLoad(char const   *libname , char const   **funcname ,   6040 extern void *fb_hDynLoad(char const   *libname , char const   **funcname ,
6041                          void **funcptr ) ;   6041                          void **funcptr ) ;
6042 extern int fb_hDynLoadAlso(void *lib , char const   **funcname ,   6042 extern int fb_hDynLoadAlso(void *lib , char const   **funcname ,
6043                            void **funcptr , int count ) ;   6043                            void **funcptr , int count ) ;
6044 extern void fb_hDynUnload(void **lib ) ;   6044 extern void fb_hDynUnload(void **lib ) ;
6045 extern char *fb_hGetShortPath(char *src , char *dst , int maxlen ) ;   6045 extern char *fb_hGetShortPath(char *src , char *dst , int maxlen ) ;
6046 extern int fb_hGetCurrentDir(char *dst , int maxlen ) ;   6046 extern int fb_hGetCurrentDir(char *dst , int maxlen ) ;
6047 extern char *fb_hGetExePath(char *dst , int maxlen ) ;   6047 extern char *fb_hGetExePath(char *dst , int maxlen ) ;
6048 extern char *fb_hGetExeName(char *dst , int maxlen ) ;   6048 extern char *fb_hGetExeName(char *dst , int maxlen ) ;
6049 extern int fb_hIn(unsigned short port ) ;   6049 extern int fb_hIn(unsigned short port ) ;
6050 extern int fb_hOut(unsigned short port , unsigned char value ) ;   6050 extern int fb_hOut(unsigned short port , unsigned char value ) ;
6051 extern int fb_Wait(unsigned short port , int and , int xor ) ;   6051 extern int fb_Wait(unsigned short port , int and , int xor ) ;
6052 extern double fb_Rnd(float n ) ;   6052 extern double fb_Rnd(float n ) ;
6053 extern void fb_Randomize(double seed , int algorithm ) ;   6053 extern void fb_Randomize(double seed , int algorithm ) ;
6054 extern int fb_SGNSingle(float x ) ;   6054 extern int fb_SGNSingle(float x ) ;
6055 extern int fb_SGNDouble(double x ) ;   6055 extern int fb_SGNDouble(double x ) ;
6056 extern float fb_FIXSingle(float x ) ;   6056 extern float fb_FIXSingle(float x ) ;
6057 extern double fb_FIXDouble(double x ) ;   6057 extern double fb_FIXDouble(double x ) ;
6058 extern FB_DATADESC *__fb_data_ptr ;   6058 extern FB_DATADESC *__fb_data_ptr ;
6059 extern void fb_DataRestore(FB_DATADESC *labeladdr ) ;   6059 extern void fb_DataRestore(FB_DATADESC *labeladdr ) ;
6060 extern void fb_DataReadStr(void *dst , int dst_size , int fillrem ) ;   6060 extern void fb_DataReadStr(void *dst , int dst_size , int fillrem ) ;
6061 extern void fb_DataReadByte(char *dst ) ;   6061 extern void fb_DataReadByte(char *dst ) ;
6062 extern void fb_DataReadUByte(unsigned char *dst ) ;   6062 extern void fb_DataReadUByte(unsigned char *dst ) ;
6063 extern void fb_DataReadShort(short *dst ) ;   6063 extern void fb_DataReadShort(short *dst ) ;
6064 extern void fb_DataReadUShort(unsigned short *dst ) ;   6064 extern void fb_DataReadUShort(unsigned short *dst ) ;
6065 extern void fb_DataReadInt(int *dst ) ;   6065 extern void fb_DataReadInt(int *dst ) ;
6066 extern void fb_DataReadUInt(unsigned int *dst ) ;   6066 extern void fb_DataReadUInt(unsigned int *dst ) ;
6067 extern void fb_DataReadLongint(long long *dst ) ;   6067 extern void fb_DataReadLongint(long long *dst ) ;
6068 extern void fb_DataReadULongint(unsigned long long *dst ) ;   6068 extern void fb_DataReadULongint(unsigned long long *dst ) ;
6069 extern void fb_DataReadSingle(float *dst ) ;   6069 extern void fb_DataReadSingle(float *dst ) ;
6070 extern void fb_DataReadDouble(double *dst ) ;   6070 extern void fb_DataReadDouble(double *dst ) ;
6071 extern short fb_DataGetLen(void) ;   6071 extern short fb_DataGetLen(void) ;
6072 __inline static int FB_PRINT_CONVERT_BIN_NEWLINE(int mask )   6072 __inline static int FB_PRINT_CONVERT_BIN_NEWLINE(int mask )
6073 {   6073 {
6074     6074  
6075     6075  
6076   {   6076   {
6077   if (mask & 1) {   6077   if (mask & 1) {
6078     mask = (mask & -2) | 4;   6078     mask = (mask & -2) | 4;
6079   } else {   6079   } else {
6080     6080  
6081   }   6081   }
6082   return (mask);   6082   return (mask);
6083 }   6083 }
6084 }   6084 }
6085 extern int fb_ConsoleWidth(int cols , int rows ) ;   6085 extern int fb_ConsoleWidth(int cols , int rows ) ;
6086 extern void fb_ConsoleClear(int mode ) ;   6086 extern void fb_ConsoleClear(int mode ) ;
6087 extern int fb_ConsoleLocate(int row , int col , int cursor ) ;   6087 extern int fb_ConsoleLocate(int row , int col , int cursor ) ;
6088 extern int fb_ConsoleGetY(void) ;   6088 extern int fb_ConsoleGetY(void) ;
6089 extern int fb_ConsoleGetX(void) ;   6089 extern int fb_ConsoleGetX(void) ;
6090 extern void fb_ConsoleGetSize(int *cols , int *rows ) ;   6090 extern void fb_ConsoleGetSize(int *cols , int *rows ) ;
6091 extern void fb_ConsoleGetXY(int *col , int *row ) ;   6091 extern void fb_ConsoleGetXY(int *col , int *row ) ;
6092 extern unsigned int fb_ConsoleReadXY(int col , int row , int colorflag ) ;   6092 extern unsigned int fb_ConsoleReadXY(int col , int row , int colorflag ) ;
6093 extern int fb_ConsoleColor(int fc , int bc , int flags ) ;   6093 extern int fb_ConsoleColor(int fc , int bc , int flags ) ;
6094 extern int fb_ConsoleGetColorAtt(void) ;   6094 extern int fb_ConsoleGetColorAtt(void) ;
6095 extern int fb_ConsoleView(int toprow , int botrow ) ;   6095 extern int fb_ConsoleView(int toprow , int botrow ) ;
6096 extern int fb_ConsoleViewEx(int toprow , int botrow , int set_cursor ) ;   6096 extern int fb_ConsoleViewEx(int toprow , int botrow , int set_cursor ) ;
6097 extern void fb_ConsoleGetView(int *toprow , int *botrow ) ;   6097 extern void fb_ConsoleGetView(int *toprow , int *botrow ) ;
6098 extern int fb_ConsoleGetMaxRow(void) ;   6098 extern int fb_ConsoleGetMaxRow(void) ;
6099 extern void fb_ConsoleViewUpdate(void) ;   6099 extern void fb_ConsoleViewUpdate(void) ;
6100 extern void fb_ConsoleScroll(int nrows ) ;   6100 extern void fb_ConsoleScroll(int nrows ) ;
6101 extern int fb_ConsoleGetkey(void) ;   6101 extern int fb_ConsoleGetkey(void) ;
6102 extern FBSTRING *fb_ConsoleInkey(void) ;   6102 extern FBSTRING *fb_ConsoleInkey(void) ;
6103 extern int fb_ConsoleKeyHit(void) ;   6103 extern int fb_ConsoleKeyHit(void) ;
6104 extern int fb_ConsoleMultikey(int scancode ) ;   6104 extern int fb_ConsoleMultikey(int scancode ) ;
6105 extern int fb_ConsoleGetMouse(int *x , int *y , int *z , int *buttons_ ,   6105 extern int fb_ConsoleGetMouse(int *x , int *y , int *z , int *buttons_ ,
6106                               int *clip ) ;   6106                               int *clip ) ;
6107 extern int fb_ConsoleSetMouse(int x , int y , int cursor , int clip ) ;   6107 extern int fb_ConsoleSetMouse(int x , int y , int cursor , int clip ) ;
6108 extern void fb_ConsolePrintBuffer(char const   *buffer , int mask ) ;   6108 extern void fb_ConsolePrintBuffer(char const   *buffer , int mask ) ;
6109 extern void fb_ConsolePrintBufferWstr(wchar_t const   *buffer , int mask ) ;   6109 extern void fb_ConsolePrintBufferWstr(wchar_t const   *buffer , int mask ) ;
6110 extern void fb_ConsolePrintBufferEx(void const   *buffer , size_t len ,   6110 extern void fb_ConsolePrintBufferEx(void const   *buffer , size_t len ,
6111                                     int mask ) ;   6111                                     int mask ) ;
6112 extern void fb_ConsolePrintBufferWstrEx(wchar_t const   *buffer , size_t len ,   6112 extern void fb_ConsolePrintBufferWstrEx(wchar_t const   *buffer , size_t len ,
6113                                         int mask ) ;   6113                                         int mask ) ;
6114 extern char *fb_ConsoleReadStr(char *buffer , int len ) ;   6114 extern char *fb_ConsoleReadStr(char *buffer , int len ) ;
6115 extern int fb_ConsoleGetTopRow(void) ;   6115 extern int fb_ConsoleGetTopRow(void) ;
6116 extern int fb_ConsoleGetBotRow(void) ;   6116 extern int fb_ConsoleGetBotRow(void) ;
6117 extern void fb_ConsoleSetTopBotRows(int top , int bot ) ;   6117 extern void fb_ConsoleSetTopBotRows(int top , int bot ) ;
6118 extern void fb_ConsoleSleep(int msecs ) ;   6118 extern void fb_ConsoleSleep(int msecs ) ;
6119 extern int fb_ConsoleIsRedirected(int is_input ) ;   6119 extern int fb_ConsoleIsRedirected(int is_input ) ;
6120 extern int fb_ConsolePageCopy(int src , int dst ) ;   6120 extern int fb_ConsolePageCopy(int src , int dst ) ;
6121 extern int fb_ConsolePageSet(int active , int visible ) ;   6121 extern int fb_ConsolePageSet(int active , int visible ) ;
6122 extern void fb_ConReadLineEx(FBSTRING *dst , int soft_cursor ) ;   6122 extern void fb_ConReadLineEx(FBSTRING *dst , int soft_cursor ) ;
6123 extern FBSTRING *fb_ConReadLine(int soft_cursor ) ;   6123 extern FBSTRING *fb_ConReadLine(int soft_cursor ) ;
6124 extern int fb_ConsoleLineInput(FBSTRING *text , void *dst , int dst_len ,   6124 extern int fb_ConsoleLineInput(FBSTRING *text , void *dst , int dst_len ,
6125                                int fillrem , int addquestion , int addnewline ) ;   6125                                int fillrem , int addquestion , int addnewline ) ;
6126 extern int fb_ConsoleLineInputWstr(wchar_t const   *text , wchar_t *dst ,   6126 extern int fb_ConsoleLineInputWstr(wchar_t const   *text , wchar_t *dst ,
6127                                    int max_chars , int addquestion ,   6127                                    int max_chars , int addquestion ,
6128                                    int addnewline ) ;   6128                                    int addnewline ) ;
6129 extern void fb_PrintPad(int fnum , int mask ) ;   6129 extern void fb_PrintPad(int fnum , int mask ) ;
6130 extern void fb_PrintPadEx(struct _FB_FILE *handle , int mask ) ;   6130 extern void fb_PrintPadEx(struct _FB_FILE *handle , int mask ) ;
6131 extern void fb_PrintPadWstr(int fnum , int mask ) ;   6131 extern void fb_PrintPadWstr(int fnum , int mask ) ;
6132 extern void fb_PrintPadWstrEx(struct _FB_FILE *handle , int mask ) ;   6132 extern void fb_PrintPadWstrEx(struct _FB_FILE *handle , int mask ) ;
6133 extern void fb_PrintVoid(int fnum , int mask ) ;   6133 extern void fb_PrintVoid(int fnum , int mask ) ;
6134 extern void fb_PrintVoidEx(struct _FB_FILE *handle , int mask ) ;   6134 extern void fb_PrintVoidEx(struct _FB_FILE *handle , int mask ) ;
6135 extern void fb_PrintVoidWstr(int fnum , int mask ) ;   6135 extern void fb_PrintVoidWstr(int fnum , int mask ) ;
6136 extern void fb_PrintVoidWstrEx(struct _FB_FILE *handle , int mask ) ;   6136 extern void fb_PrintVoidWstrEx(struct _FB_FILE *handle , int mask ) ;
6137 extern void fb_PrintByte(int fnum , char val , int mask ) ;   6137 extern void fb_PrintByte(int fnum , char val , int mask ) ;
6138 extern void fb_PrintUByte(int fnum , unsigned char val , int mask ) ;   6138 extern void fb_PrintUByte(int fnum , unsigned char val , int mask ) ;
6139 extern void fb_PrintShort(int fnum , short val , int mask ) ;   6139 extern void fb_PrintShort(int fnum , short val , int mask ) ;
6140 extern void fb_PrintUShort(int fnum , unsigned short val , int mask ) ;   6140 extern void fb_PrintUShort(int fnum , unsigned short val , int mask ) ;
6141 extern void fb_PrintInt(int fnum , int val , int mask ) ;   6141 extern void fb_PrintInt(int fnum , int val , int mask ) ;
6142 extern void fb_PrintUInt(int fnum , unsigned int val , int mask ) ;   6142 extern void fb_PrintUInt(int fnum , unsigned int val , int mask ) ;
6143 extern void fb_PrintSingle(int fnum , float val , int mask ) ;   6143 extern void fb_PrintSingle(int fnum , float val , int mask ) ;
6144 extern void fb_PrintDouble(int fnum , double val , int mask ) ;   6144 extern void fb_PrintDouble(int fnum , double val , int mask ) ;
6145 extern void fb_PrintString(int fnum , FBSTRING *s , int mask ) ;   6145 extern void fb_PrintString(int fnum , FBSTRING *s , int mask ) ;
6146 extern void fb_PrintWstr(int fnum , wchar_t const   *s , int mask ) ;   6146 extern void fb_PrintWstr(int fnum , wchar_t const   *s , int mask ) ;
6147 extern void fb_PrintStringEx(struct _FB_FILE *handle , FBSTRING *s , int mask ) ;   6147 extern void fb_PrintStringEx(struct _FB_FILE *handle , FBSTRING *s , int mask ) ;
6148 extern void fb_PrintWstrEx(struct _FB_FILE *handle , wchar_t const   *s ,   6148 extern void fb_PrintWstrEx(struct _FB_FILE *handle , wchar_t const   *s ,
6149                            int mask ) ;   6149                            int mask ) ;
6150 extern void fb_PrintFixString(int fnum , char const   *s , int mask ) ;   6150 extern void fb_PrintFixString(int fnum , char const   *s , int mask ) ;
6151 extern void fb_PrintFixStringEx(struct _FB_FILE *handle , char const   *s ,   6151 extern void fb_PrintFixStringEx(struct _FB_FILE *handle , char const   *s ,
6152                                 int mask ) ;   6152                                 int mask ) ;
6153 extern void fb_PrintBuffer(char const   *s , int mask ) ;   6153 extern void fb_PrintBuffer(char const   *s , int mask ) ;
6154 extern void fb_PrintBufferEx(void const   *buffer , size_t len , int mask ) ;   6154 extern void fb_PrintBufferEx(void const   *buffer , size_t len , int mask ) ;
6155 extern void fb_PrintBufferWstrEx(wchar_t const   *buffer , size_t len ,   6155 extern void fb_PrintBufferWstrEx(wchar_t const   *buffer , size_t len ,
6156                                  int mask ) ;   6156                                  int mask ) ;
6157 extern void fb_PrintTab(int fnum , int newcol ) ;   6157 extern void fb_PrintTab(int fnum , int newcol ) ;
6158 extern void fb_PrintSPC(int fnum , int n ) ;   6158 extern void fb_PrintSPC(int fnum , int n ) ;
6159 extern void fb_WriteVoid(int fnum , int mask ) ;   6159 extern void fb_WriteVoid(int fnum , int mask ) ;
6160 extern void fb_WriteByte(int fnum , char val , int mask ) ;   6160 extern void fb_WriteByte(int fnum , char val , int mask ) ;
6161 extern void fb_WriteUByte(int fnum , unsigned char val , int mask ) ;   6161 extern void fb_WriteUByte(int fnum , unsigned char val , int mask ) ;
6162 extern void fb_WriteShort(int fnum , short val , int mask ) ;   6162 extern void fb_WriteShort(int fnum , short val , int mask ) ;
6163 extern void fb_WriteUShort(int fnum , unsigned short val , int mask ) ;   6163 extern void fb_WriteUShort(int fnum , unsigned short val , int mask ) ;
6164 extern void fb_WriteInt(int fnum , int val , int mask ) ;   6164 extern void fb_WriteInt(int fnum , int val , int mask ) ;
6165 extern void fb_WriteUInt(int fnum , unsigned int val , int mask ) ;   6165 extern void fb_WriteUInt(int fnum , unsigned int val , int mask ) ;
6166 extern void fb_WriteSingle(int fnum , float val , int mask ) ;   6166 extern void fb_WriteSingle(int fnum , float val , int mask ) ;
6167 extern void fb_WriteDouble(int fnum , double val , int mask ) ;   6167 extern void fb_WriteDouble(int fnum , double val , int mask ) ;
6168 extern void fb_WriteString(int fnum , FBSTRING *s , int mask ) ;   6168 extern void fb_WriteString(int fnum , FBSTRING *s , int mask ) ;
6169 extern void fb_WriteFixString(int fnum , char *s , int mask ) ;   6169 extern void fb_WriteFixString(int fnum , char *s , int mask ) ;
6170 extern void fb_WriteWstr(int fnum , wchar_t *s , int mask ) ;   6170 extern void fb_WriteWstr(int fnum , wchar_t *s , int mask ) ;
6171 __inline static struct _FB_FILE *FB_HANDLE_DEREF(struct _FB_FILE *handle )   6171 __inline static struct _FB_FILE *FB_HANDLE_DEREF(struct _FB_FILE *handle )
6172 {   6172 {
6173     6173  
6174     6174  
6175   {   6175   {
6176   if ((unsigned int )handle != (unsigned int )((void *)0)) {   6176   if ((unsigned int )handle != (unsigned int )((void *)0)) {
6177     pthread_mutex_lock(& __fb_global_mutex);   6177     pthread_mutex_lock(& __fb_global_mutex);
6178     while ((unsigned int )handle->redirection_to != (unsigned int )((void *)0)) {   6178     while ((unsigned int )handle->redirection_to != (unsigned int )((void *)0)) {
6179       handle = handle->redirection_to;   6179       handle = handle->redirection_to;
6180     }   6180     }
6181     pthread_mutex_unlock(& __fb_global_mutex);   6181     pthread_mutex_unlock(& __fb_global_mutex);
6182   } else {   6182   } else {
6183     6183  
6184   }   6184   }
6185   return (handle);   6185   return (handle);
6186 }   6186 }
6187 }   6187 }
6188 extern int fb_FilePutData(int fnum , fb_off_t pos , void const   *data ,   6188 extern int fb_FilePutData(int fnum , fb_off_t pos , void const   *data ,
6189                           size_t length , int adjust_rec_pos , int checknewline ) ;   6189                           size_t length , int adjust_rec_pos , int checknewline ) ;
6190 extern int fb_FilePutDataEx(FB_FILE *handle , fb_off_t pos ,   6190 extern int fb_FilePutDataEx(FB_FILE *handle , fb_off_t pos ,
6191                             void const   *data , size_t length ,   6191                             void const   *data , size_t length ,
6192                             int adjust_rec_pos , int checknewline ,   6192                             int adjust_rec_pos , int checknewline ,
6193                             int isunicode ) ;   6193                             int isunicode ) ;
6194 extern int fb_FileGetData(int fnum , fb_off_t pos , void *data , size_t length ,   6194 extern int fb_FileGetData(int fnum , fb_off_t pos , void *data , size_t length ,
6195                           int adjust_rec_pos ) ;   6195                           int adjust_rec_pos ) ;
6196 extern int fb_FileGetDataEx(FB_FILE *handle , fb_off_t pos , void *data ,   6196 extern int fb_FileGetDataEx(FB_FILE *handle , fb_off_t pos , void *data ,
6197                             size_t length , size_t *bytesread ,   6197                             size_t length , size_t *bytesread ,
6198                             int adjust_rec_pos , int isunicode ) ;   6198                             int adjust_rec_pos , int isunicode ) ;
6199 extern int fb_FileOpenVfsRawEx(FB_FILE *handle , char const   *filename ,   6199 extern int fb_FileOpenVfsRawEx(FB_FILE *handle , char const   *filename ,
6200                                size_t filename_length , unsigned int mode ,   6200                                size_t filename_length , unsigned int mode ,
6201                                unsigned int access , unsigned int lock ,   6201                                unsigned int access , unsigned int lock ,
6202                                int len , FB_FILE_ENCOD encoding ,   6202                                int len , FB_FILE_ENCOD encoding ,
6203                                int (*pfnOpen)(struct _FB_FILE *handle ,   6203                                int (*pfnOpen)(struct _FB_FILE *handle ,
6204                                               char const   *filename ,   6204                                               char const   *filename ,
6205                                               size_t filename_len ) ) ;   6205                                               size_t filename_len ) ) ;
6206 extern int fb_FileOpenVfsEx(FB_FILE *handle , FBSTRING *str_filename ,   6206 extern int fb_FileOpenVfsEx(FB_FILE *handle , FBSTRING *str_filename ,
6207                             unsigned int mode , unsigned int access ,   6207                             unsigned int mode , unsigned int access ,
6208                             unsigned int lock , int len ,   6208                             unsigned int lock , int len ,
6209                             FB_FILE_ENCOD encoding ,   6209                             FB_FILE_ENCOD encoding ,
6210                             int (*pfnOpen)(struct _FB_FILE *handle ,   6210                             int (*pfnOpen)(struct _FB_FILE *handle ,
6211                                            char const   *filename ,   6211                                            char const   *filename ,
6212                                            size_t filename_len ) ) ;   6212                                            size_t filename_len ) ) ;
6213 extern int fb_FileOpenCons(FBSTRING *str_filename , unsigned int mode ,   6213 extern int fb_FileOpenCons(FBSTRING *str_filename , unsigned int mode ,
6214                            unsigned int access , unsigned int lock , int fnum ,   6214                            unsigned int access , unsigned int lock , int fnum ,
6215                            int len , char const   *encoding ) ;   6215                            int len , char const   *encoding ) ;
6216 extern int fb_FileOpenErr(FBSTRING *str_filename , unsigned int mode ,   6216 extern int fb_FileOpenErr(FBSTRING *str_filename , unsigned int mode ,
6217                           unsigned int access , unsigned int lock , int fnum ,   6217                           unsigned int access , unsigned int lock , int fnum ,
6218                           int len , char const   *encoding ) ;   6218                           int len , char const   *encoding ) ;
6219 extern int fb_FileOpenPipe(FBSTRING *str_filename , unsigned int mode ,   6219 extern int fb_FileOpenPipe(FBSTRING *str_filename , unsigned int mode ,
6220                            unsigned int access , unsigned int lock , int fnum ,   6220                            unsigned int access , unsigned int lock , int fnum ,
6221                            int len , char const   *encoding ) ;   6221                            int len , char const   *encoding ) ;
6222 extern int fb_FileOpenScrn(FBSTRING *str_filename , unsigned int mode ,   6222 extern int fb_FileOpenScrn(FBSTRING *str_filename , unsigned int mode ,
6223                            unsigned int access , unsigned int lock , int fnum ,   6223                            unsigned int access , unsigned int lock , int fnum ,
6224                            int len , char const   *encoding ) ;   6224                            int len , char const   *encoding ) ;
6225 extern int fb_FileOpenLpt(FBSTRING *str_filename , unsigned int mode ,   6225 extern int fb_FileOpenLpt(FBSTRING *str_filename , unsigned int mode ,
6226                           unsigned int access , unsigned int lock , int fnum ,   6226                           unsigned int access , unsigned int lock , int fnum ,
6227                           int len , char const   *encoding ) ;   6227                           int len , char const   *encoding ) ;
6228 extern int fb_FileOpenCom(FBSTRING *str_filename , unsigned int mode ,   6228 extern int fb_FileOpenCom(FBSTRING *str_filename , unsigned int mode ,
6229                           unsigned int access , unsigned int lock , int fnum ,   6229                           unsigned int access , unsigned int lock , int fnum ,
6230                           int len , char const   *encoding ) ;   6230                           int len , char const   *encoding ) ;
6231 extern int fb_FileFree(void) ;   6231 extern int fb_FileFree(void) ;
6232 extern int fb_FileOpen(FBSTRING *str , unsigned int mode , unsigned int access ,   6232 extern int fb_FileOpen(FBSTRING *str , unsigned int mode , unsigned int access ,
6233                        unsigned int lock , int fnum , int len ) ;   6233                        unsigned int lock , int fnum , int len ) ;
6234 extern int fb_FileOpenEx(FB_FILE *handle , FBSTRING *str , unsigned int mode ,   6234 extern int fb_FileOpenEx(FB_FILE *handle , FBSTRING *str , unsigned int mode ,
6235                          unsigned int access , unsigned int lock , int len ) ;   6235                          unsigned int access , unsigned int lock , int len ) ;
6236 extern int fb_FileOpenShort(FBSTRING *str_file_mode , int fnum ,   6236 extern int fb_FileOpenShort(FBSTRING *str_file_mode , int fnum ,
6237                             FBSTRING *filename , int len ,   6237                             FBSTRING *filename , int len ,
6238                             FBSTRING *str_access_mode , FBSTRING *str_lock_mode ) ;   6238                             FBSTRING *str_access_mode , FBSTRING *str_lock_mode ) ;
6239 extern int fb_FileClose(int fnum ) ;   6239 extern int fb_FileClose(int fnum ) ;
6240 extern int fb_FileCloseEx(FB_FILE *handle ) ;   6240 extern int fb_FileCloseEx(FB_FILE *handle ) ;
6241 extern int fb_FilePut(int fnum , long pos , void *value , unsigned int valuelen ) ;   6241 extern int fb_FilePut(int fnum , long pos , void *value , unsigned int valuelen ) ;
6242 extern int fb_FilePutEx(FB_FILE *handle , fb_off_t pos , void *value ,   6242 extern int fb_FilePutEx(FB_FILE *handle , fb_off_t pos , void *value ,
6243                         unsigned int valuelen ) ;   6243                         unsigned int valuelen ) ;
6244 extern int fb_FilePutStr(int fnum , long pos , void *str , int str_len ) ;   6244 extern int fb_FilePutStr(int fnum , long pos , void *str , int str_len ) ;
6245 extern int fb_FilePutStrEx(FB_FILE *handle , fb_off_t pos , void *str ,   6245 extern int fb_FilePutStrEx(FB_FILE *handle , fb_off_t pos , void *str ,
6246                            int str_len ) ;   6246                            int str_len ) ;
6247 extern int fb_FilePutArray(int fnum , long pos , FBARRAY *src ) ;   6247 extern int fb_FilePutArray(int fnum , long pos , FBARRAY *src ) ;
6248 extern int fb_FileGet(int fnum , long pos , void *value , unsigned int valuelen ) ;   6248 extern int fb_FileGet(int fnum , long pos , void *value , unsigned int valuelen ) ;
6249 extern int fb_FileGetEx(FB_FILE *handle , fb_off_t pos , void *value ,   6249 extern int fb_FileGetEx(FB_FILE *handle , fb_off_t pos , void *value ,
6250                         unsigned int valuelen ) ;   6250                         unsigned int valuelen ) ;
6251 extern int fb_FileGetStr(int fnum , long pos , void *str , int str_len ) ;   6251 extern int fb_FileGetStr(int fnum , long pos , void *str , int str_len ) ;
6252 extern int fb_FileGetStrEx(FB_FILE *handle , fb_off_t pos , void *str ,   6252 extern int fb_FileGetStrEx(FB_FILE *handle , fb_off_t pos , void *str ,
6253                            int str_len , size_t *bytesread ) ;   6253                            int str_len , size_t *bytesread ) ;
6254 extern int fb_FileGetArray(int fnum , long pos , FBARRAY *dst ) ;   6254 extern int fb_FileGetArray(int fnum , long pos , FBARRAY *dst ) ;
6255 extern int fb_FileEof(int fnum ) ;   6255 extern int fb_FileEof(int fnum ) ;
6256 extern int fb_FileEofEx(FB_FILE *handle ) ;   6256 extern int fb_FileEofEx(FB_FILE *handle ) ;
6257 extern long long fb_FileTell(int fnum ) ;   6257 extern long long fb_FileTell(int fnum ) ;
6258 extern fb_off_t fb_FileTellEx(FB_FILE *handle ) ;   6258 extern fb_off_t fb_FileTellEx(FB_FILE *handle ) ;
6259 extern int fb_FileSeek(int fnum , long newpos ) ;   6259 extern int fb_FileSeek(int fnum , long newpos ) ;
6260 extern int fb_FileSeekEx(FB_FILE *handle , fb_off_t newpos ) ;   6260 extern int fb_FileSeekEx(FB_FILE *handle , fb_off_t newpos ) ;
6261 extern long long fb_FileLocation(int fnum ) ;   6261 extern long long fb_FileLocation(int fnum ) ;
6262 extern fb_off_t fb_FileLocationEx(FB_FILE *handle ) ;   6262 extern fb_off_t fb_FileLocationEx(FB_FILE *handle ) ;
6263 extern int fb_FileKill(FBSTRING *str ) ;   6263 extern int fb_FileKill(FBSTRING *str ) ;
6264 extern void fb_FileReset(void) ;   6264 extern void fb_FileReset(void) ;
6265 extern void fb_FileResetEx(int streamno ) ;   6265 extern void fb_FileResetEx(int streamno ) ;
6266 extern long long fb_FileSize(int fnum ) ;   6266 extern long long fb_FileSize(int fnum ) ;
6267 extern fb_off_t fb_FileSizeEx(FB_FILE *handle ) ;   6267 extern fb_off_t fb_FileSizeEx(FB_FILE *handle ) ;
6268 extern int fb_FilePutBack(int fnum , void const   *data , size_t length ) ;   6268 extern int fb_FilePutBack(int fnum , void const   *data , size_t length ) ;
6269 extern int fb_FilePutBackWstr(int fnum , wchar_t const   *src , size_t chars ) ;   6269 extern int fb_FilePutBackWstr(int fnum , wchar_t const   *src , size_t chars ) ;
6270 extern int fb_FilePutBackEx(FB_FILE *handle , void const   *data ,   6270 extern int fb_FilePutBackEx(FB_FILE *handle , void const   *data ,
6271                             size_t length ) ;   6271                             size_t length ) ;
6272 extern int fb_FilePutBackWstrEx(FB_FILE *handle , wchar_t const   *src ,   6272 extern int fb_FilePutBackWstrEx(FB_FILE *handle , wchar_t const   *src ,
6273                                 size_t chars ) ;   6273                                 size_t chars ) ;
6274 extern FBSTRING *fb_FileStrInput(int bytes , int fnum ) ;   6274 extern FBSTRING *fb_FileStrInput(int bytes , int fnum ) ;
6275 extern int fb_FileLineInput(int fnum , void *dst , int dst_len , int fillrem ) ;   6275 extern int fb_FileLineInput(int fnum , void *dst , int dst_len , int fillrem ) ;
6276 extern int fb_hFilePrintBuffer(int fnum , char const   *buffer ) ;   6276 extern int fb_hFilePrintBuffer(int fnum , char const   *buffer ) ;
6277 extern int fb_hFilePrintBufferWstr(int fnum , wchar_t const   *buffer ) ;   6277 extern int fb_hFilePrintBufferWstr(int fnum , wchar_t const   *buffer ) ;
6278 extern int fb_hFilePrintBufferEx(FB_FILE *handle , void const   *buffer ,   6278 extern int fb_hFilePrintBufferEx(FB_FILE *handle , void const   *buffer ,
6279                                  size_t len ) ;   6279                                  size_t len ) ;
6280 extern int fb_hFilePrintBufferWstrEx(FB_FILE *handle , wchar_t const   *buffer ,   6280 extern int fb_hFilePrintBufferWstrEx(FB_FILE *handle , wchar_t const   *buffer ,
6281                                      size_t len ) ;   6281                                      size_t len ) ;
6282 extern int fb_hFileLock(FILE *f , fb_off_t inipos , fb_off_t size ) ;   6282 extern int fb_hFileLock(FILE *f , fb_off_t inipos , fb_off_t size ) ;
6283 extern int fb_hFileUnlock(FILE *f , fb_off_t inipos , fb_off_t size ) ;   6283 extern int fb_hFileUnlock(FILE *f , fb_off_t inipos , fb_off_t size ) ;
6284 extern char *fb_hConvertPath(char *path , int len ) ;   6284 extern char *fb_hConvertPath(char *path , int len ) ;
6285 extern FB_FILE_ENCOD fb_hFileStrToEncoding(char const   *encoding ) ;   6285 extern FB_FILE_ENCOD fb_hFileStrToEncoding(char const   *encoding ) ;
6286 extern int fb_SetPos(FB_FILE *handle , int line_length ) ;   6286 extern int fb_SetPos(FB_FILE *handle , int line_length ) ;
6287 extern int fb_FileInputNextToken(char *buffer , int maxlen , int isstring ,   6287 extern int fb_FileInputNextToken(char *buffer , int maxlen , int isstring ,
6288                                  int *isfp ) ;   6288                                  int *isfp ) ;
6289 extern void fb_FileInputNextTokenWstr(wchar_t *buffer , int max_chars ,   6289 extern void fb_FileInputNextTokenWstr(wchar_t *buffer , int max_chars ,
6290                                       int is_string ) ;   6290                                       int is_string ) ;
6291 extern UTF_8 const   __fb_utf8_bmarkTb[7] ;   6291 extern UTF_8 const   __fb_utf8_bmarkTb[7] ;
6292 extern void fb_hCharToUTF8(char const   *src , int chars , char *dst ,   6292 extern void fb_hCharToUTF8(char const   *src , int chars , char *dst ,
6293                            int *bytes ) ;   6293                            int *bytes ) ;
6294 extern char *fb_CharToUTF(FB_FILE_ENCOD encod , char const   *src , int chars ,   6294 extern char *fb_CharToUTF(FB_FILE_ENCOD encod , char const   *src , int chars ,
6295                           char *dst , int *bytes ) ;   6295                           char *dst , int *bytes ) ;
6296 extern char *fb_WCharToUTF(FB_FILE_ENCOD encod , wchar_t const   *src ,   6296 extern char *fb_WCharToUTF(FB_FILE_ENCOD encod , wchar_t const   *src ,
6297                            int chars , char *dst , int *bytes ) ;   6297                            int chars , char *dst , int *bytes ) ;
6298 extern int fb_hFileRead_UTFToChar(FILE *fp , FB_FILE_ENCOD encod , char *dst ,   6298 extern int fb_hFileRead_UTFToChar(FILE *fp , FB_FILE_ENCOD encod , char *dst ,
6299                                   int max_chars ) ;   6299                                   int max_chars ) ;
6300 extern int fb_hFileRead_UTFToWchar(FILE *fp , FB_FILE_ENCOD encod ,   6300 extern int fb_hFileRead_UTFToWchar(FILE *fp , FB_FILE_ENCOD encod ,
6301                                    wchar_t *dst , int max_chars ) ;   6301                                    wchar_t *dst , int max_chars ) ;
6302 extern int fb_FileCopy(char const   *source , char const   *destination ) ;   6302 extern int fb_FileCopy(char const   *source , char const   *destination ) ;
6303 extern int fb_DrvFileCopy(char const   *source , char const   *destination ) ;   6303 extern int fb_DrvFileCopy(char const   *source , char const   *destination ) ;
6304 extern int fb_DevConsOpen(struct _FB_FILE *handle , char const   *filename ,   6304 extern int fb_DevConsOpen(struct _FB_FILE *handle , char const   *filename ,
6305                           size_t filename_len ) ;   6305                           size_t filename_len ) ;
6306 extern int fb_DevErrOpen(struct _FB_FILE *handle , char const   *filename ,   6306 extern int fb_DevErrOpen(struct _FB_FILE *handle , char const   *filename ,
6307                          size_t filename_len ) ;   6307                          size_t filename_len ) ;
6308 extern int fb_DevFileOpen(struct _FB_FILE *handle , char const   *filename ,   6308 extern int fb_DevFileOpen(struct _FB_FILE *handle , char const   *filename ,
6309                           size_t filename_len ) ;   6309                           size_t filename_len ) ;
6310 extern int fb_DevFileClose(struct _FB_FILE *handle ) ;   6310 extern int fb_DevFileClose(struct _FB_FILE *handle ) ;
6311 extern int fb_DevFileEof(struct _FB_FILE *handle ) ;   6311 extern int fb_DevFileEof(struct _FB_FILE *handle ) ;
6312 extern int fb_DevFileLock(struct _FB_FILE *handle , fb_off_t position ,   6312 extern int fb_DevFileLock(struct _FB_FILE *handle , fb_off_t position ,
6313                           fb_off_t size ) ;   6313                           fb_off_t size ) ;
6314 extern int fb_DevFileRead(struct _FB_FILE *handle , void *value ,   6314 extern int fb_DevFileRead(struct _FB_FILE *handle , void *value ,
6315                           size_t *pLength ) ;   6315                           size_t *pLength ) ;
6316 extern int fb_DevFileReadWstr(struct _FB_FILE *handle , wchar_t *dst ,   6316 extern int fb_DevFileReadWstr(struct _FB_FILE *handle , wchar_t *dst ,
6317                               size_t *pchars ) ;   6317                               size_t *pchars ) ;
6318 extern int fb_DevFileReadLine(struct _FB_FILE *handle , FBSTRING *dst ) ;   6318 extern int fb_DevFileReadLine(struct _FB_FILE *handle , FBSTRING *dst ) ;
6319 extern int fb_DevFileReadLineWstr(struct _FB_FILE *handle , wchar_t *dst ,   6319 extern int fb_DevFileReadLineWstr(struct _FB_FILE *handle , wchar_t *dst ,
6320                                   int dst_chars ) ;   6320                                   int dst_chars ) ;
6321 extern int fb_DevFileSeek(struct _FB_FILE *handle , fb_off_t offset ,   6321 extern int fb_DevFileSeek(struct _FB_FILE *handle , fb_off_t offset ,
6322                           int whence ) ;   6322                           int whence ) ;
6323 extern int fb_DevFileTell(struct _FB_FILE *handle , fb_off_t *pOffset ) ;   6323 extern int fb_DevFileTell(struct _FB_FILE *handle , fb_off_t *pOffset ) ;
6324 extern int fb_DevFileUnlock(struct _FB_FILE *handle , fb_off_t position ,   6324 extern int fb_DevFileUnlock(struct _FB_FILE *handle , fb_off_t position ,
6325                             fb_off_t size ) ;   6325                             fb_off_t size ) ;
6326 extern int fb_DevFileWrite(struct _FB_FILE *handle , void const   *value ,   6326 extern int fb_DevFileWrite(struct _FB_FILE *handle , void const   *value ,
6327                            size_t valuelen ) ;   6327                            size_t valuelen ) ;
6328 extern int fb_DevFileWriteWstr(struct _FB_FILE *handle ,   6328 extern int fb_DevFileWriteWstr(struct _FB_FILE *handle ,
6329                                wchar_t const   *value , size_t valuelen ) ;   6329                                wchar_t const   *value , size_t valuelen ) ;
6330 extern int fb_DevFileFlush(struct _FB_FILE *handle ) ;   6330 extern int fb_DevFileFlush(struct _FB_FILE *handle ) ;
6331 extern int fb_DevFileReadLineDumb(FILE *fp , FBSTRING *dst ,   6331 extern int fb_DevFileReadLineDumb(FILE *fp , FBSTRING *dst ,
6332                                   char *(*pfnReadString)(char *buffer ,   6332                                   char *(*pfnReadString)(char *buffer ,
6333                                                          size_t count ,   6333                                                          size_t count ,
6334                                                          FILE *fp ) ) ;   6334                                                          FILE *fp ) ) ;
6335 extern int fb_DevFileOpenEncod(struct _FB_FILE *handle ,   6335 extern int fb_DevFileOpenEncod(struct _FB_FILE *handle ,
6336                                char const   *filename , size_t fname_len ) ;   6336                                char const   *filename , size_t fname_len ) ;
6337 extern int fb_DevFileOpenUTF(struct _FB_FILE *handle , char const   *filename ,   6337 extern int fb_DevFileOpenUTF(struct _FB_FILE *handle , char const   *filename ,
6338                              size_t filename_len ) ;   6338                              size_t filename_len ) ;
6339 extern int fb_DevPipeOpen(struct _FB_FILE *handle , char const   *filename ,   6339 extern int fb_DevPipeOpen(struct _FB_FILE *handle , char const   *filename ,
6340                           size_t filename_len ) ;   6340                           size_t filename_len ) ;
6341 extern int fb_DevPipeClose(struct _FB_FILE *handle ) ;   6341 extern int fb_DevPipeClose(struct _FB_FILE *handle ) ;
6342 extern void fb_DevScrnInit(void) ;   6342 extern void fb_DevScrnInit(void) ;
6343 extern void fb_DevScrnInit_NoOpen(void) ;   6343 extern void fb_DevScrnInit_NoOpen(void) ;
6344 extern void fb_DevScrnInit_Write(void) ;   6344 extern void fb_DevScrnInit_Write(void) ;
6345 extern void fb_DevScrnInit_WriteWstr(void) ;   6345 extern void fb_DevScrnInit_WriteWstr(void) ;
6346 extern void fb_DevScrnInit_Read(void) ;   6346 extern void fb_DevScrnInit_Read(void) ;
6347 extern void fb_DevScrnInit_ReadWstr(void) ;   6347 extern void fb_DevScrnInit_ReadWstr(void) ;
6348 extern void fb_DevScrnInit_ReadLine(void) ;   6348 extern void fb_DevScrnInit_ReadLine(void) ;
6349 extern void fb_DevScrnInit_ReadLineWstr(void) ;   6349 extern void fb_DevScrnInit_ReadLineWstr(void) ;
6350 extern int fb_DevScrnOpen(struct _FB_FILE *handle , char const   *filename ,   6350 extern int fb_DevScrnOpen(struct _FB_FILE *handle , char const   *filename ,
6351                           size_t filename_len ) ;   6351                           size_t filename_len ) ;
6352 extern int fb_DevScrnClose(struct _FB_FILE *handle ) ;   6352 extern int fb_DevScrnClose(struct _FB_FILE *handle ) ;
6353 extern int fb_DevScrnEof(struct _FB_FILE *handle ) ;   6353 extern int fb_DevScrnEof(struct _FB_FILE *handle ) ;
6354 extern int fb_DevScrnRead(struct _FB_FILE *handle , void *value ,   6354 extern int fb_DevScrnRead(struct _FB_FILE *handle , void *value ,
6355                           size_t *pLength ) ;   6355                           size_t *pLength ) ;
6356 extern int fb_DevScrnReadWstr(struct _FB_FILE *handle , wchar_t *dst ,   6356 extern int fb_DevScrnReadWstr(struct _FB_FILE *handle , wchar_t *dst ,
6357                               size_t *pchars ) ;   6357                               size_t *pchars ) ;
6358 extern int fb_DevScrnWrite(struct _FB_FILE *handle , void const   *value ,   6358 extern int fb_DevScrnWrite(struct _FB_FILE *handle , void const   *value ,
6359                            size_t valuelen ) ;   6359                            size_t valuelen ) ;
6360 extern int fb_DevScrnWriteWstr(struct _FB_FILE *handle ,   6360 extern int fb_DevScrnWriteWstr(struct _FB_FILE *handle ,
6361                                wchar_t const   *value , size_t valuelen ) ;   6361                                wchar_t const   *value , size_t valuelen ) ;
6362 extern int fb_DevScrnReadLine(struct _FB_FILE *handle , FBSTRING *dst ) ;   6362 extern int fb_DevScrnReadLine(struct _FB_FILE *handle , FBSTRING *dst ) ;
6363 extern int fb_DevScrnReadLineWstr(struct _FB_FILE *handle , wchar_t *dst ,   6363 extern int fb_DevScrnReadLineWstr(struct _FB_FILE *handle , wchar_t *dst ,
6364                                   int dst_chars ) ;   6364                                   int dst_chars ) ;
6365 extern void fb_DevScrnFillInput(DEV_SCRN_INFO *info ) ;   6365 extern void fb_DevScrnFillInput(DEV_SCRN_INFO *info ) ;
6366 extern int fb_DevStdIoClose(struct _FB_FILE *handle ) ;   6366 extern int fb_DevStdIoClose(struct _FB_FILE *handle ) ;
6367 extern int fb_DevLptOpen(struct _FB_FILE *handle , char const   *filename ,   6367 extern int fb_DevLptOpen(struct _FB_FILE *handle , char const   *filename ,
6368                          size_t filename_len ) ;   6368                          size_t filename_len ) ;
6369 extern int fb_DevComOpen(struct _FB_FILE *handle , char const   *filename ,   6369 extern int fb_DevComOpen(struct _FB_FILE *handle , char const   *filename ,
6370                          size_t filename_len ) ;   6370                          size_t filename_len ) ;
6371 extern int fb_DevSerialSetWidth(char const   *pszDevice , int width ,   6371 extern int fb_DevSerialSetWidth(char const   *pszDevice , int width ,
6372                                 int default_width ) ;   6372                                 int default_width ) ;
6373 extern int fb_SerialOpen(struct _FB_FILE *handle , int iPort ,   6373 extern int fb_SerialOpen(struct _FB_FILE *handle , int iPort ,
6374                          FB_SERIAL_OPTIONS *options , char const   *pszDevice ,   6374                          FB_SERIAL_OPTIONS *options , char const   *pszDevice ,
6375                          void **ppvHandle ) ;   6375                          void **ppvHandle ) ;
6376 extern int fb_SerialGetRemaining(struct _FB_FILE *handle , void *pvHandle ,   6376 extern int fb_SerialGetRemaining(struct _FB_FILE *handle , void *pvHandle ,
6377                                  fb_off_t *pLength ) ;   6377                                  fb_off_t *pLength ) ;
6378 extern int fb_SerialWrite(struct _FB_FILE *handle , void *pvHandle ,   6378 extern int fb_SerialWrite(struct _FB_FILE *handle , void *pvHandle ,
6379                           void const   *data , size_t length ) ;   6379                           void const   *data , size_t length ) ;
6380 extern int fb_SerialWriteWstr(struct _FB_FILE *handle , void *pvHandle ,   6380 extern int fb_SerialWriteWstr(struct _FB_FILE *handle , void *pvHandle ,
6381                               wchar_t const   *data , size_t length ) ;   6381                               wchar_t const   *data , size_t length ) ;
6382 extern int fb_SerialRead(struct _FB_FILE *handle , void *pvHandle , void *data ,   6382 extern int fb_SerialRead(struct _FB_FILE *handle , void *pvHandle , void *data ,
6383                          size_t *pLength ) ;   6383                          size_t *pLength ) ;
6384 extern int fb_SerialReadWstr(struct _FB_FILE *handle , void *pvHandle ,   6384 extern int fb_SerialReadWstr(struct _FB_FILE *handle , void *pvHandle ,
6385                              wchar_t *data , size_t *pLength ) ;   6385                              wchar_t *data , size_t *pLength ) ;
6386 extern int fb_SerialClose(struct _FB_FILE *handle , void *pvHandle ) ;   6386 extern int fb_SerialClose(struct _FB_FILE *handle , void *pvHandle ) ;
6387 extern int fb_DevLptParseProtocol(DEV_LPT_PROTOCOL **lpt_proto_out ,   6387 extern int fb_DevLptParseProtocol(DEV_LPT_PROTOCOL **lpt_proto_out ,
6388                                   char const   *proto_raw ,   6388                                   char const   *proto_raw ,
6389                                   size_t proto_raw_len , int substprn ) ;   6389                                   size_t proto_raw_len , int substprn ) ;
6390 extern int fb_DevLptWrite(struct _FB_FILE *handle , void const   *value ,   6390 extern int fb_DevLptWrite(struct _FB_FILE *handle , void const   *value ,
6391                           size_t valuelen ) ;   6391                           size_t valuelen ) ;
6392 extern int fb_DevLptWriteWstr(struct _FB_FILE *handle , wchar_t const   *value ,   6392 extern int fb_DevLptWriteWstr(struct _FB_FILE *handle , wchar_t const   *value ,
6393                               size_t valuelen ) ;   6393                               size_t valuelen ) ;
6394 extern int fb_DevLptClose(struct _FB_FILE *handle ) ;   6394 extern int fb_DevLptClose(struct _FB_FILE *handle ) ;
6395 extern int fb_DevPrinterSetWidth(char const   *pszDevice , int width ,   6395 extern int fb_DevPrinterSetWidth(char const   *pszDevice , int width ,
6396                                  int default_width ) ;   6396                                  int default_width ) ;
6397 extern int fb_DevPrinterGetOffset(char const   *pszDevice ) ;   6397 extern int fb_DevPrinterGetOffset(char const   *pszDevice ) ;
6398 extern int fb_PrinterOpen(struct _DEV_LPT_INFO *devInfo , int iPort ,   6398 extern int fb_PrinterOpen(struct _DEV_LPT_INFO *devInfo , int iPort ,
6399                           char const   *pszDevice ) ;   6399                           char const   *pszDevice ) ;
6400 extern int fb_PrinterWrite(struct _DEV_LPT_INFO *devInfo , void const   *data ,   6400 extern int fb_PrinterWrite(struct _DEV_LPT_INFO *devInfo , void const   *data ,
6401                            size_t length ) ;   6401                            size_t length ) ;
6402 extern int fb_PrinterWriteWstr(struct _DEV_LPT_INFO *devInfo ,   6402 extern int fb_PrinterWriteWstr(struct _DEV_LPT_INFO *devInfo ,
6403                                wchar_t const   *data , size_t length ) ;   6403                                wchar_t const   *data , size_t length ) ;
6404 extern int fb_PrinterClose(struct _DEV_LPT_INFO *devInfo ) ;   6404 extern int fb_PrinterClose(struct _DEV_LPT_INFO *devInfo ) ;
6405 extern double fb_Timer(void) ;   6405 extern double fb_Timer(void) ;
6406 extern FBSTRING *fb_Time(void) ;   6406 extern FBSTRING *fb_Time(void) ;
6407 extern int fb_SetTime(FBSTRING *time ) ;   6407 extern int fb_SetTime(FBSTRING *time ) ;
6408 extern FBSTRING *fb_Date(void) ;   6408 extern FBSTRING *fb_Date(void) ;
6409 extern int fb_SetDate(FBSTRING *date ) ;   6409 extern int fb_SetDate(FBSTRING *date ) ;
6410 extern int fb_hSetTime(int h , int m , int s ) ;   6410 extern int fb_hSetTime(int h , int m , int s ) ;
6411 extern int fb_hSetDate(int y , int m , int d ) ;   6411 extern int fb_hSetDate(int y , int m , int d ) ;
6412 extern int fb_IsDate(FBSTRING *s ) ;   6412 extern int fb_IsDate(FBSTRING *s ) ;
6413 extern int fb_DateValue(FBSTRING *s ) ;   6413 extern int fb_DateValue(FBSTRING *s ) ;
6414 extern int fb_DateSerial(int year , int month , int day ) ;   6414 extern int fb_DateSerial(int year , int month , int day ) ;
6415 extern int fb_Year(double serial ) ;   6415 extern int fb_Year(double serial ) ;
6416 extern int fb_Month(double serial ) ;   6416 extern int fb_Month(double serial ) ;
6417 extern int fb_Day(double serial ) ;   6417 extern int fb_Day(double serial ) ;
6418 extern int fb_Weekday(double serial , int first_day_of_week ) ;   6418 extern int fb_Weekday(double serial , int first_day_of_week ) ;
6419 extern double fb_TimeValue(FBSTRING *s ) ;   6419 extern double fb_TimeValue(FBSTRING *s ) ;
6420 extern double fb_TimeSerial(int hour , int minute , int second ) ;   6420 extern double fb_TimeSerial(int hour , int minute , int second ) ;
6421 extern int fb_Hour(double serial ) ;   6421 extern int fb_Hour(double serial ) ;
6422 extern int fb_Minute(double serial ) ;   6422 extern int fb_Minute(double serial ) ;
6423 extern int fb_Second(double serial ) ;   6423 extern int fb_Second(double serial ) ;
6424 extern double fb_Now(void) ;   6424 extern double fb_Now(void) ;
6425 extern FBSTRING *fb_MonthName(int month , int abbreviation ) ;   6425 extern FBSTRING *fb_MonthName(int month , int abbreviation ) ;
6426 extern FBSTRING *fb_WeekdayName(int weekday , int abbreviation ,   6426 extern FBSTRING *fb_WeekdayName(int weekday , int abbreviation ,
6427                                 int first_day_of_week ) ;   6427                                 int first_day_of_week ) ;
6428 extern double fb_DateAdd(FBSTRING *interval , double interval_value_arg ,   6428 extern double fb_DateAdd(FBSTRING *interval , double interval_value_arg ,
6429                          double serial ) ;   6429                          double serial ) ;
6430 extern int fb_DatePart(FBSTRING *interval , double serial ,   6430 extern int fb_DatePart(FBSTRING *interval , double serial ,
6431                        int first_day_of_week , int first_day_of_year ) ;   6431                        int first_day_of_week , int first_day_of_year ) ;
6432 extern long long fb_DateDiff(FBSTRING *interval , double serial1 ,   6432 extern long long fb_DateDiff(FBSTRING *interval , double serial1 ,
6433                              double serial2 , int first_day_of_week ,   6433                              double serial2 , int first_day_of_week ,
6434                              int first_day_of_year ) ;   6434                              int first_day_of_year ) ;
6435 extern int fb_hDateParse(char const   *text , size_t text_len , int *pDay ,   6435 extern int fb_hDateParse(char const   *text , size_t text_len , int *pDay ,
6436                          int *pMonth , int *pYear , size_t *pLength ) ;   6436                          int *pMonth , int *pYear , size_t *pLength ) ;
6437 extern int fb_DateParse(FBSTRING *s , int *pDay , int *pMonth , int *pYear ) ;   6437 extern int fb_DateParse(FBSTRING *s , int *pDay , int *pMonth , int *pYear ) ;
6438 extern void fb_hDateDecodeSerial(double serial , int *pYear , int *pMonth ,   6438 extern void fb_hDateDecodeSerial(double serial , int *pYear , int *pMonth ,
6439                                  int *pDay ) ;   6439                                  int *pDay ) ;
6440 extern int fb_hTimeParse(char const   *text , size_t text_len , int *pHour ,   6440 extern int fb_hTimeParse(char const   *text , size_t text_len , int *pHour ,
6441                          int *pMinute , int *pSecond , size_t *pLength ) ;   6441                          int *pMinute , int *pSecond , size_t *pLength ) ;
6442 extern int fb_TimeParse(FBSTRING *s , int *pHour , int *pMinute , int *pSecond ) ;   6442 extern int fb_TimeParse(FBSTRING *s , int *pHour , int *pMinute , int *pSecond ) ;
6443 extern void fb_hTimeDecodeSerial(double serial , int *pHour , int *pMinute ,   6443 extern void fb_hTimeDecodeSerial(double serial , int *pHour , int *pMinute ,
6444                                  int *pSecond , int use_qb_hack ) ;   6444                                  int *pSecond , int use_qb_hack ) ;
6445 extern int fb_DateTimeParse(FBSTRING *s , int *pDay , int *pMonth , int *pYear ,   6445 extern int fb_DateTimeParse(FBSTRING *s , int *pDay , int *pMonth , int *pYear ,
6446                             int *pHour , int *pMinute , int *pSecond ,   6446                             int *pHour , int *pMinute , int *pSecond ,
6447                             int want_date , int want_time ) ;   6447                             int want_date , int want_time ) ;
6448 extern void fb_I18nSet(int on_off ) ;   6448 extern void fb_I18nSet(int on_off ) ;
6449 extern int fb_I18nGet(void) ;   6449 extern int fb_I18nGet(void) ;
6450 extern int fb_hTimeLeap(int year ) ;   6450 extern int fb_hTimeLeap(int year ) ;
6451 extern int fb_hGetDayOfYear(double serial ) ;   6451 extern int fb_hGetDayOfYear(double serial ) ;
6452 extern int fb_hGetDayOfYearEx(int year , int month , int day ) ;   6452 extern int fb_hGetDayOfYearEx(int year , int month , int day ) ;
6453 extern int fb_hGetWeekOfYear(int ref_year , double serial ,   6453 extern int fb_hGetWeekOfYear(int ref_year , double serial ,
6454                              int first_day_of_year , int first_day_of_week ) ;   6454                              int first_day_of_year , int first_day_of_week ) ;
6455 extern int fb_hGetWeeksOfYear(int ref_year , int first_day_of_year ,   6455 extern int fb_hGetWeeksOfYear(int ref_year , int first_day_of_year ,
6456                               int first_day_of_week ) ;   6456                               int first_day_of_week ) ;
6457 extern int fb_hTimeDaysInMonth(int month , int year ) ;   6457 extern int fb_hTimeDaysInMonth(int month , int year ) ;
6458 extern void fb_hNormalizeDate(int *pDay , int *pMonth , int *pYear ) ;   6458 extern void fb_hNormalizeDate(int *pDay , int *pMonth , int *pYear ) ;
6459 extern int fb_hTimeGetIntervalType(FBSTRING *interval ) ;   6459 extern int fb_hTimeGetIntervalType(FBSTRING *interval ) ;
6460 extern char const   *fb_IntlGet(eFbIntlIndex index , int disallow_localized ) ;   6460 extern char const   *fb_IntlGet(eFbIntlIndex index , int disallow_localized ) ;
6461 extern int fb_IntlGetDateFormat(char *buffer , size_t len ,   6461 extern int fb_IntlGetDateFormat(char *buffer , size_t len ,
6462                                 int disallow_localized ) ;   6462                                 int disallow_localized ) ;
6463 extern int fb_IntlGetTimeFormat(char *buffer , size_t len ,   6463 extern int fb_IntlGetTimeFormat(char *buffer , size_t len ,
6464                                 int disallow_localized ) ;   6464                                 int disallow_localized ) ;
6465 extern FBSTRING *fb_IntlGetMonthName(int month , int short_name ,   6465 extern FBSTRING *fb_IntlGetMonthName(int month , int short_name ,
6466                                      int disallow_localized ) ;   6466                                      int disallow_localized ) ;
6467 extern FBSTRING *fb_IntlGetWeekdayName(int weekday , int short_names ,   6467 extern FBSTRING *fb_IntlGetWeekdayName(int weekday , int short_names ,
6468                                        int disallow_localized ) ;   6468                                        int disallow_localized ) ;
6469 extern char const   *fb_DrvIntlGet(eFbIntlIndex index ) ;   6469 extern char const   *fb_DrvIntlGet(eFbIntlIndex index ) ;
6470 extern int fb_DrvIntlGetDateFormat(char *buffer , size_t len ) ;   6470 extern int fb_DrvIntlGetDateFormat(char *buffer , size_t len ) ;
6471 extern int fb_DrvIntlGetTimeFormat(char *buffer , size_t len ) ;   6471 extern int fb_DrvIntlGetTimeFormat(char *buffer , size_t len ) ;
6472 extern FBSTRING *fb_DrvIntlGetMonthName(int month , int short_name ) ;   6472 extern FBSTRING *fb_DrvIntlGetMonthName(int month , int short_name ) ;
6473 extern FBSTRING *fb_DrvIntlGetWeekdayName(int weekday , int short_names ) ;   6473 extern FBSTRING *fb_DrvIntlGetWeekdayName(int weekday , int short_names ) ;
6474 extern FBTHREAD *fb_ThreadCreate(void (*proc)(void *param ) , void *param ,   6474 extern FBTHREAD *fb_ThreadCreate(void (*proc)(void *param ) , void *param ,
6475                                  int stack_size ) ;   6475                                  int stack_size ) ;
6476 extern void fb_ThreadWait(FBTHREAD *thread ) ;   6476 extern void fb_ThreadWait(FBTHREAD *thread ) ;
6477 extern struct _FBMUTEX *fb_MutexCreate(void) ;   6477 extern struct _FBMUTEX *fb_MutexCreate(void) ;
6478 extern void fb_MutexDestroy(struct _FBMUTEX *mutex ) ;   6478 extern void fb_MutexDestroy(struct _FBMUTEX *mutex ) ;
6479 extern void fb_MutexLock(struct _FBMUTEX *mutex ) ;   6479 extern void fb_MutexLock(struct _FBMUTEX *mutex ) ;
6480 extern void fb_MutexUnlock(struct _FBMUTEX *mutex ) ;   6480 extern void fb_MutexUnlock(struct _FBMUTEX *mutex ) ;
6481 extern struct _FBCOND *fb_CondCreate(void) ;   6481 extern struct _FBCOND *fb_CondCreate(void) ;
6482 extern void fb_CondDestroy(struct _FBCOND *cond ) ;   6482 extern void fb_CondDestroy(struct _FBCOND *cond ) ;
6483 extern void fb_CondSignal(struct _FBCOND *cond ) ;   6483 extern void fb_CondSignal(struct _FBCOND *cond ) ;
6484 extern void fb_CondBroadcast(struct _FBCOND *cond ) ;   6484 extern void fb_CondBroadcast(struct _FBCOND *cond ) ;
6485 extern void fb_CondWait(struct _FBCOND *cond , struct _FBMUTEX *mutex ) ;   6485 extern void fb_CondWait(struct _FBCOND *cond , struct _FBMUTEX *mutex ) ;
6486 extern void *fb_TlsGetCtx(int index , int len ) ;   6486 extern void *fb_TlsGetCtx(int index , int len ) ;
6487 extern void fb_TlsDelCtx(int index ) ;   6487 extern void fb_TlsDelCtx(int index ) ;
6488 extern void fb_TlsFreeCtxTb(void) ;   6488 extern void fb_TlsFreeCtxTb(void) ;
6489 extern FBSTRING *fb_Inkey(void) ;   6489 extern FBSTRING *fb_Inkey(void) ;
6490 extern FBSTRING *fb_InkeyQB(void) ;   6490 extern FBSTRING *fb_InkeyQB(void) ;
6491 extern int fb_Getkey(void) ;   6491 extern int fb_Getkey(void) ;
6492 extern int fb_KeyHit(void) ;   6492 extern int fb_KeyHit(void) ;
6493 extern void fb_Cls(int mode ) ;   6493 extern void fb_Cls(int mode ) ;
6494 extern int fb_Color(int fc , int bc , int flags ) ;   6494 extern int fb_Color(int fc , int bc , int flags ) ;
6495 extern int fb_LocateEx(int row , int col , int cursor , int *current_pos ) ;   6495 extern int fb_LocateEx(int row , int col , int cursor , int *current_pos ) ;
6496 extern int fb_Locate(int row , int col , int cursor , int start , int stop ) ;   6496 extern int fb_Locate(int row , int col , int cursor , int start , int stop ) ;
6497 extern int fb_LocateSub(int row , int col , int cursor ) ;   6497 extern int fb_LocateSub(int row , int col , int cursor ) ;
6498 extern void fb_ViewUpdate(void) ;   6498 extern void fb_ViewUpdate(void) ;
6499 extern int fb_Width(int cols , int rows ) ;   6499 extern int fb_Width(int cols , int rows ) ;
6500 extern int fb_WidthDev(FBSTRING *dev , int width ) ;   6500 extern int fb_WidthDev(FBSTRING *dev , int width ) ;
6501 extern int fb_WidthFile(int fnum , int width ) ;   6501 extern int fb_WidthFile(int fnum , int width ) ;
6502 extern int fb_Pos(int dummy ) ;   6502 extern int fb_Pos(int dummy ) ;
6503 extern int fb_GetX(void) ;   6503 extern int fb_GetX(void) ;
6504 extern int fb_GetY(void) ;   6504 extern int fb_GetY(void) ;
6505 extern void fb_GetXY(int *col , int *row ) ;   6505 extern void fb_GetXY(int *col , int *row ) ;
6506 extern void fb_GetSize(int *cols , int *rows ) ;   6506 extern void fb_GetSize(int *cols , int *rows ) ;
6507 extern unsigned int fb_ReadXY(int col , int row , int colorflag ) ;   6507 extern unsigned int fb_ReadXY(int col , int row , int colorflag ) ;
6508 extern char *fb_ReadString(char *buffer , int len , FILE *f ) ;   6508 extern char *fb_ReadString(char *buffer , int len , FILE *f ) ;
6509 extern int fb_LineInput(FBSTRING *text , void *dst , int dst_len , int fillrem ,   6509 extern int fb_LineInput(FBSTRING *text , void *dst , int dst_len , int fillrem ,
6510                         int addquestion , int addnewline ) ;   6510                         int addquestion , int addnewline ) ;
6511 extern int fb_LineInputWstr(wchar_t const   *text , wchar_t *dst ,   6511 extern int fb_LineInputWstr(wchar_t const   *text , wchar_t *dst ,
6512                             int max_chars , int addquestion , int addnewline ) ;   6512                             int max_chars , int addquestion , int addnewline ) ;
6513 extern int fb_Multikey(int scancode ) ;   6513 extern int fb_Multikey(int scancode ) ;
6514 extern int fb_GetMouse(int *x , int *y , int *z , int *buttons_ , int *clip ) ;   6514 extern int fb_GetMouse(int *x , int *y , int *z , int *buttons_ , int *clip ) ;
6515 extern int fb_SetMouse(int x , int y , int cursor , int clip ) ;   6515 extern int fb_SetMouse(int x , int y , int cursor , int clip ) ;
6516 extern int fb_In(unsigned short port ) ;   6516 extern int fb_In(unsigned short port ) ;
6517 extern int fb_Out(unsigned short port , unsigned char value ) ;   6517 extern int fb_Out(unsigned short port , unsigned char value ) ;
6518 extern void fb_Sleep(int msecs ) ;   6518 extern void fb_Sleep(int msecs ) ;
6519 extern void fb_SleepQB(int secs ) ;   6519 extern void fb_SleepQB(int secs ) ;
6520 extern void fb_Delay(int msecs ) ;   6520 extern void fb_Delay(int msecs ) ;
6521 extern int fb_SleepEx(int msecs , int kind ) ;   6521 extern int fb_SleepEx(int msecs , int kind ) ;
6522 extern int fb_IsRedirected(int is_input ) ;   6522 extern int fb_IsRedirected(int is_input ) ;
6523 extern int fb_PageCopy(int src , int dst ) ;   6523 extern int fb_PageCopy(int src , int dst ) ;
6524 extern int fb_PageSet(int active , int visible ) ;   6524 extern int fb_PageSet(int active , int visible ) ;
6525 extern FB_RTLIB_CTX __fb_ctx ;   6525 extern FB_RTLIB_CTX __fb_ctx ;
6526 long long fb_hStr2Longint(char *src , int len )   6526 long long fb_hStr2Longint(char *src , int len )
6527 {   6527 {
6528   char *p ;   6528   char *p ;
6529   int radix ;   6529   int radix ;
6530   unsigned long long tmp ;   6530   unsigned long long tmp ;
    -+ 6531   int __cil_tmp6 ;
6531   = 6532  
6532   {   6533   {
6533   p = fb_hStrSkipChar(src, len, 32);   6534   p = fb_hStrSkipChar(src, len, 32);
6534   len -= p - src;   6535   len -= p - src;
6535   if (len < 1) {   6536   if (len < 1) {
6536     return (0LL);   6537     return (0LL);
6537   } else {   6538   } else {
6538     6539  
6539   }   6540   }
6540   radix = 10;   6541   radix = 10;
6541   if (len >= 2) {   6542   if (len >= 2) {
6542     if ((int )*(p + 0) == 38) {   6543     if ((int )*(p + 0) == 38) {
6543       switch ((int )*(p + 1)) {   6544       switch ((int )*(p + 1)) {
6544       case 72:   6545       case 72:
6545       case 104:   6546       case 104:
6546       radix = 16;   6547       radix = 16;
6547       break;   6548       break;
6548       case 79:   6549       case 79:
6549       case 111:   6550       case 111:
6550       radix = 8;   6551       radix = 8;
6551       break;   6552       break;
6552       case 66:   6553       case 66:
6553       case 98:   6554       case 98:
6554       radix = 2;   6555       radix = 2;
6555       break;   6556       break;
    -+ 6557       default:
      6558       {
      6559       radix = 8;
      6560       __cil_tmp6 = 1;
      6561       break;
      6562       }
6556       } = 6563       }
6557       if (radix != 10) {   6564       if (radix != 10) {
6558         p += 2;   6565         p += 2;
6559       } else {   6566       } else {
6560     6567  
6561       }   6568       }
6562     } else {   6569     } else {
6563     6570  
6564     }   6571     }
6565   } else {   6572   } else {
6566     6573  
6567   }   6574   }
6568   tmp = strtoull((char const   */* __restrict  */)p,   6575   tmp = strtoull((char const   */* __restrict  */)p,
6569                  (char **/* __restrict  */)((void *)0), radix);   6576                  (char **/* __restrict  */)((void *)0), radix);
6570   return ((long long )tmp);   6577   return ((long long )tmp);
6571 }   6578 }
6572 }   6579 }
6573 long long fb_VALLNG(FBSTRING *str )   6580 long long fb_VALLNG(FBSTRING *str )
6574 {   6581 {
6575   long long val ;   6582   long long val ;
6576     6583  
6577   {   6584   {
6578   if ((unsigned int )str == (unsigned int )((void *)0)) {   6585   if ((unsigned int )str == (unsigned int )((void *)0)) {
6579     return (0LL);   6586     return (0LL);
6580   } else {   6587   } else {
6581     6588  
6582   }   6589   }
6583   if ((unsigned int )str->data == (unsigned int )((void *)0)) {   6590   if ((unsigned int )str->data == (unsigned int )((void *)0)) {
6584     val = 0LL;   6591     val = 0LL;
6585   } else   6592   } else
6586   if (((unsigned long )str->len & 2147483647UL) == 0UL) {   6593   if (((unsigned long )str->len & 2147483647UL) == 0UL) {
6587     val = 0LL;   6594     val = 0LL;
6588   } else {   6595   } else {
6589     val = fb_hStr2Longint(str->data,   6596     val = fb_hStr2Longint(str->data,
6590                           (int )((unsigned long )str->len & 2147483647UL));   6597                           (int )((unsigned long )str->len & 2147483647UL));
6591   }   6598   }
6592   fb_hStrDelTemp(str);   6599   fb_hStrDelTemp(str);
6593   return (val);   6600   return (val);
6594 }   6601 }
6595 }   6602 }